home *** CD-ROM | disk | FTP | other *** search
/ Apple Macintosh Fundamentals / MacintoshFundamentals-v2-0.iso / MacFun 2.0 / MF Maint < prev    next >
MacBinary  |  1990-03-08  |  796.5 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Tue Sep 26 17:30:50 1989, modified Thu Mar 8 12:55:31 1990, creator HyperCard, type HyperCard stack, 807104 bytes "MF Maint" , at 0xc5140 8236 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 4d 46 20 4d 61 69 | 6e 74 00 00 00 00 00 00 |..MF Mai|nt......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 0c 50 c0 00 | 00 20 2c a1 45 9b 0a a2 |.....P..|. ,.E...|
|00000060| 1c 4d 13 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.M......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e9 92 00 00 |........|........|
|00000080| 00 00 7c 00 53 54 41 4b | ff ff ff ff e6 b2 64 62 |..|.STAK|......db|
|00000090| 00 00 00 08 00 0c 50 c0 | 00 00 7c 00 00 00 00 00 |......P.|..|.....|
|000000a0| 00 00 00 03 00 00 00 23 | 00 00 c2 cb 00 00 00 b3 |.......#|........|
|000000b0| 00 00 0e f9 00 00 de 29 | 00 00 00 00 00 00 00 00 |.......)|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 22 80 00 01 22 80 00 | 01 22 80 00 01 22 80 00 |."..."..|."..."..|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 7c 20 56 65 72 73 | 69 6f 6e 20 32 2e 30 0d |--| Vers|ion 2.0.|
|00000690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006d0| 2d 2d 2d 2d 2d 2d 2d 0d | 2d 2d 2d 2d 2d 2d 2d 2d |-------.|--------|
|000006e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000700| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000710| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00000720| 2d 2d 0d 2d 2d 20 20 28 | 43 29 20 31 39 39 30 20 |--.-- (|C) 1990 |
|00000730| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|00000740| 49 6e 63 2e 0d 2d 2d 0d | 2d 2d 20 20 41 70 70 6c |Inc..--.|-- Appl|
|00000750| 65 2c 20 54 68 65 20 41 | 70 70 6c 65 20 6c 6f 67 |e, The A|pple log|
|00000760| 6f 2c 20 4d 61 63 69 6e | 74 6f 73 68 2c 20 48 79 |o, Macin|tosh, Hy|
|00000770| 70 65 72 43 61 72 64 0d | 2d 2d 20 20 61 72 65 20 |perCard.|-- are |
|00000780| 72 65 67 69 73 74 65 72 | 65 64 20 74 72 61 64 65 |register|ed trade|
|00000790| 6d 61 72 6b 73 20 6f 66 | 20 41 70 70 6c 65 20 43 |marks of| Apple C|
|000007a0| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 0d 2d 2d |omputer,| Inc..--|
|000007b0| 0d 2d 2d 20 20 54 68 69 | 73 20 73 6f 66 74 77 61 |.-- Thi|s softwa|
|000007c0| 72 65 20 6d 61 79 20 6e | 6f 74 20 62 65 20 63 6f |re may n|ot be co|
|000007d0| 70 69 65 64 20 77 69 74 | 68 6f 75 74 20 74 68 65 |pied wit|hout the|
|000007e0| 0d 2d 2d 20 20 65 78 70 | 72 65 73 73 20 77 72 69 |.-- exp|ress wri|
|000007f0| 74 74 65 6e 20 70 65 72 | 6d 69 73 73 69 6f 6e 20 |tten per|mission |
|00000800| 6f 66 20 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |of Apple| Compute|
|00000810| 72 2c 20 49 6e 63 2e 0d | 2d 2d 20 20 41 6c 6c 20 |r, Inc..|-- All |
|00000820| 52 69 67 68 74 73 20 52 | 65 73 65 72 76 65 64 2e |Rights R|eserved.|
|00000830| 0d 2d 2d 0d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.--.----|--------|
|00000840| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000850| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000860| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000870| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 2d 2d 2d 2d |--------|---.----|
|00000880| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000890| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008c0| 2d 2d 2d 0d 0d 2d 2d 2d | 2d 7c 20 6d 69 73 63 0d |---..---|-| misc.|
|000008d0| 66 75 6e 63 74 69 6f 6e | 20 69 73 49 6e 49 74 65 |function| isInIte|
|000008e0| 6d 4c 69 73 74 20 20 6f | 62 6a 2c 20 6c 69 73 74 |mList o|bj, list|
|000008f0| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00000900| 66 6f 75 6e 64 0d 72 65 | 70 65 61 74 20 77 69 74 |found.re|peat wit|
|00000910| 68 20 69 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h i = 1 |to the n|
|00000920| 75 6d 62 65 72 20 6f 66 | 20 69 74 65 6d 73 20 69 |umber of| items i|
|00000930| 6e 20 6c 69 73 74 0d 69 | 66 20 69 74 65 6d 20 69 |n list.i|f item i|
|00000940| 20 6f 66 20 6c 69 73 74 | 20 69 73 20 6f 62 6a 20 | of list| is obj |
|00000950| 74 68 65 6e 0d 70 75 74 | 20 74 72 75 65 20 69 6e |then.put| true in|
|00000960| 74 6f 20 66 6f 75 6e 64 | 0d 65 78 69 74 20 72 65 |to found|.exit re|
|00000970| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |peat.end| if.end |
|00000980| 72 65 70 65 61 74 0d 72 | 65 74 75 72 6e 20 66 6f |repeat.r|eturn fo|
|00000990| 75 6e 64 0d 65 6e 64 20 | 69 73 49 6e 49 74 65 6d |und.end |isInItem|
|000009a0| 4c 69 73 74 0d 2d 2d 20 | 74 68 65 20 64 72 6f 70 |List.-- |the drop|
|000009b0| 64 6f 77 6e 20 6d 65 6e | 75 20 46 49 4c 45 0d 66 |down men|u FILE.f|
|000009c0| 75 6e 63 74 69 6f 6e 20 | 64 65 73 6b 74 6f 70 46 |unction |desktopF|
|000009d0| 69 6c 65 4d 65 6e 75 0d | 72 65 74 75 72 6e 20 73 |ileMenu.|return s|
|000009e0| 69 6d 4d 65 6e 75 28 22 | 4e 65 77 20 46 6f 6c 64 |imMenu("|New Fold|
|000009f0| 65 72 3b 4f 70 65 6e 3b | 50 72 69 6e 74 3b 43 6c |er;Open;|Print;Cl|
|00000a00| 6f 73 65 3b 2d 29 3b 22 | 20 26 20 c2 0d 22 28 47 |ose;-);"| & .."(G|
|00000a10| 65 74 20 50 72 69 76 69 | 6c 65 67 65 73 3b 47 65 |et Privi|leges;Ge|
|00000a20| 74 20 49 6e 66 6f 3b 44 | 75 70 6c 69 63 61 74 65 |t Info;D|uplicate|
|00000a30| 3b 28 50 75 74 20 41 77 | 61 79 3b 2d 29 22 20 26 |;(Put Aw|ay;-)" &|
|00000a40| 20 c2 0d 22 50 61 67 65 | 20 53 65 74 75 70 2e 2e | .."Page| Setup..|
|00000a50| 2e 3b 50 72 69 6e 74 20 | 44 69 72 65 63 74 6f 72 |.;Print |Director|
|00000a60| 79 2e 2e 2e 3b 2d 29 3b | 45 6a 65 63 74 22 20 29 |y...;-);|Eject" )|
|00000a70| 0d 65 6e 64 20 64 65 73 | 6b 74 6f 70 46 69 6c 65 |.end des|ktopFile|
|00000a80| 4d 65 6e 75 0d 2d 2d 20 | 61 63 74 73 20 6c 69 6b |Menu.-- |acts lik|
|00000a90| 65 20 61 20 64 72 6f 70 | 20 64 6f 77 6e 20 6d 65 |e a drop| down me|
|00000aa0| 6e 75 2c 20 68 50 6f 73 | 2c 20 76 50 6f 73 20 6f |nu, hPos|, vPos o|
|00000ab0| 70 74 69 6f 6e 61 6c 0d | 2d 2d 20 72 65 74 75 72 |ptional.|-- retur|
|00000ac0| 6e 73 20 6e 61 6d 65 20 | 28 6e 6f 74 20 69 6d 70 |ns name |(not imp|
|00000ad0| 6c 65 6d 65 6e 74 65 64 | 29 20 2c 20 69 74 65 6d |lemented|) , item|
|00000ae0| 20 6e 75 6d 62 65 72 0d | 66 75 6e 63 74 69 6f 6e | number.|function|
|00000af0| 20 73 69 6d 4d 65 6e 75 | 20 6d 65 6e 75 2c 20 68 | simMenu| menu, h|
|00000b00| 50 6f 73 2c 20 76 50 6f | 73 0d 73 65 74 20 74 68 |Pos, vPo|s.set th|
|00000b10| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 74 68 65 20 |e hilite| of the |
|00000b20| 74 61 72 67 65 74 20 74 | 6f 20 74 72 75 65 0d 69 |target t|o true.i|
|00000b30| 66 20 68 50 6f 73 20 69 | 73 20 65 6d 70 74 79 20 |f hPos i|s empty |
|00000b40| 74 68 65 6e 20 70 75 74 | 20 6d 65 6e 75 4c 6f 63 |then put| menuLoc|
|00000b50| 48 28 29 20 69 6e 74 6f | 20 68 50 6f 73 0d 69 66 |H() into| hPos.if|
|00000b60| 20 76 50 6f 73 20 69 73 | 20 65 6d 70 74 79 20 74 | vPos is| empty t|
|00000b70| 68 65 6e 20 70 75 74 20 | 6d 65 6e 75 4c 6f 63 56 |hen put |menuLocV|
|00000b80| 28 29 20 69 6e 74 6f 20 | 76 50 6f 73 0d 70 75 74 |() into |vPos.put|
|00000b90| 20 6d 65 6e 75 20 69 6e | 74 6f 20 6c 69 73 74 0d | menu in|to list.|
|00000ba0| 2d 2d 67 65 74 20 48 50 | 6f 70 75 70 4d 65 6e 75 |--get HP|opupMenu|
|00000bb0| 28 20 6c 69 73 74 2c 30 | 2c 20 76 50 6f 73 2c 20 |( list,0|, vPos, |
|00000bc0| 68 50 6f 73 29 0d 67 65 | 74 20 50 6f 70 4d 65 6e |hPos).ge|t PopMen|
|00000bd0| 75 28 76 50 6f 73 2c 68 | 50 6f 73 2c 30 2c 6d 65 |u(vPos,h|Pos,0,me|
|00000be0| 6e 75 29 0d 69 66 20 69 | 74 20 69 73 20 6e 6f 74 |nu).if i|t is not|
|00000bf0| 20 65 6d 70 74 79 20 61 | 6e 64 20 69 74 65 6d 20 | empty a|nd item |
|00000c00| 32 20 6f 66 20 69 74 20 | 3e 20 30 20 74 68 65 6e |2 of it |> 0 then|
|00000c10| 0d 67 65 74 20 28 69 74 | 65 6d 20 32 20 6f 66 20 |.get (it|em 2 of |
|00000c20| 69 74 29 0d 65 6c 73 65 | 0d 67 65 74 20 30 0d 65 |it).else|.get 0.e|
|00000c30| 6e 64 20 69 66 0d 73 65 | 74 20 74 68 65 20 68 69 |nd if.se|t the hi|
|00000c40| 6c 69 74 65 20 6f 66 20 | 74 68 65 20 74 61 72 67 |lite of |the targ|
|00000c50| 65 74 20 74 6f 20 66 61 | 6c 73 65 0d 72 65 74 75 |et to fa|lse.retu|
|00000c60| 72 6e 20 65 6d 70 74 79 | 20 26 20 22 2c 22 20 26 |rn empty| & "," &|
|00000c70| 20 69 74 0d 65 6e 64 20 | 73 69 6d 4d 65 6e 75 0d | it.end |simMenu.|
|00000c80| 6f 6e 20 66 72 6f 6d 5a | 6f 6f 6d 49 6e 0d 67 6c |on fromZ|oomIn.gl|
|00000c90| 6f 62 61 6c 20 67 56 69 | 73 75 61 6c 45 66 66 65 |obal gVi|sualEffe|
|00000ca0| 63 74 0d 70 75 74 20 22 | 7a 6f 6f 6d 20 63 6c 6f |ct.put "|zoom clo|
|00000cb0| 73 65 22 20 69 6e 74 6f | 20 67 56 69 73 75 61 6c |se" into| gVisual|
|00000cc0| 45 66 66 65 63 74 0d 65 | 6e 64 20 66 72 6f 6d 5a |Effect.e|nd fromZ|
|00000cd0| 6f 6f 6d 49 6e 0d 6f 6e | 20 66 72 6f 6d 5a 6f 6f |oomIn.on| fromZoo|
|00000ce0| 6d 43 6c 6f 73 65 0d 67 | 6c 6f 62 61 6c 20 67 56 |mClose.g|lobal gV|
|00000cf0| 69 73 75 61 6c 45 66 66 | 65 63 74 0d 70 75 74 20 |isualEff|ect.put |
|00000d00| 22 7a 6f 6f 6d 20 63 6c | 6f 73 65 22 20 69 6e 74 |"zoom cl|ose" int|
|00000d10| 6f 20 67 56 69 73 75 61 | 6c 45 66 66 65 63 74 0d |o gVisua|lEffect.|
|00000d20| 65 6e 64 20 66 72 6f 6d | 5a 6f 6f 6d 43 6c 6f 73 |end from|ZoomClos|
|00000d30| 65 0d 6f 6e 20 66 6c 61 | 73 68 42 67 42 74 6e 20 |e.on fla|shBgBtn |
|00000d40| 62 74 6e 4e 61 6d 65 0d | 72 65 70 65 61 74 20 77 |btnName.|repeat w|
|00000d50| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 36 0d 73 |ith i = |1 to 6.s|
|00000d60| 65 74 20 68 69 6c 69 74 | 65 20 6f 66 20 62 67 20 |et hilit|e of bg |
|00000d70| 62 74 6e 20 62 74 6e 4e | 61 6d 65 20 74 6f 20 6e |btn btnN|ame to n|
|00000d80| 6f 74 20 74 68 65 20 68 | 69 6c 69 74 65 20 6f 66 |ot the h|ilite of|
|00000d90| 20 62 67 20 62 74 6e 20 | 62 74 6e 4e 61 6d 65 0d | bg btn |btnName.|
|00000da0| 77 61 69 74 20 31 30 0d | 65 6e 64 20 72 65 70 65 |wait 10.|end repe|
|00000db0| 61 74 0d 65 6e 64 20 66 | 6c 61 73 68 42 67 42 74 |at.end f|lashBgBt|
|00000dc0| 6e 0d 2d 2d 2d 2d 7c 20 | 53 69 6d 75 6c 61 74 69 |n.----| |Simulati|
|00000dd0| 6f 6e 0d 0d 6f 6e 20 61 | 63 74 69 6f 6e 44 6f 6e |on..on a|ctionDon|
|00000de0| 65 20 6d 73 67 0d 65 6e | 64 20 61 63 74 69 6f 6e |e msg.en|d action|
|00000df0| 44 6f 6e 65 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 6e |Done..fu|nction n|
|00000e00| 65 78 74 49 74 65 6d 20 | 63 75 72 72 65 6e 74 46 |extItem |currentF|
|00000e10| 6c 64 2c 20 6c 69 73 74 | 0d 70 75 74 20 66 6c 64 |ld, list|.put fld|
|00000e20| 20 63 75 72 72 65 6e 74 | 46 6c 64 20 69 6e 74 6f | current|Fld into|
|00000e30| 20 63 75 72 72 65 6e 74 | 0d 70 75 74 20 74 68 65 | current|.put the|
|00000e40| 20 6e 75 6d 62 65 72 20 | 6f 66 20 69 74 65 6d 73 | number |of items|
|00000e50| 20 69 6e 20 6c 69 73 74 | 20 69 6e 74 6f 20 6e 75 | in list| into nu|
|00000e60| 6d 49 74 65 6d 73 0d 72 | 65 70 65 61 74 20 77 69 |mItems.r|epeat wi|
|00000e70| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 6e 75 6d 49 |th i = 1| to numI|
|00000e80| 74 65 6d 73 0d 69 66 20 | 69 74 65 6d 20 69 20 6f |tems.if |item i o|
|00000e90| 66 20 6c 69 73 74 20 69 | 73 20 63 75 72 72 65 6e |f list i|s curren|
|00000ea0| 74 20 74 68 65 6e 0d 70 | 75 74 20 69 74 65 6d 20 |t then.p|ut item |
|00000eb0| 28 69 20 6d 6f 64 20 6e | 75 6d 49 74 65 6d 73 29 |(i mod n|umItems)|
|00000ec0| 2b 31 20 6f 66 20 6c 69 | 73 74 20 69 6e 74 6f 20 |+1 of li|st into |
|00000ed0| 6e 65 77 0d 70 75 74 20 | 6e 65 77 20 69 6e 74 6f |new.put |new into|
|00000ee0| 20 66 6c 64 20 63 75 72 | 72 65 6e 74 46 6c 64 0d | fld cur|rentFld.|
|00000ef0| 72 65 74 75 72 6e 20 6e | 65 77 0d 65 6e 64 20 69 |return n|ew.end i|
|00000f00| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |f.end re|peat.end|
|00000f10| 20 6e 65 78 74 49 74 65 | 6d 0d 0d 2d 2d 20 64 72 | nextIte|m..-- dr|
|00000f20| 61 67 67 69 6e 67 20 6f | 62 6a 65 63 74 73 20 6f |agging o|bjects o|
|00000f30| 6e 20 61 20 73 69 6d 75 | 6c 61 74 65 64 20 64 65 |n a simu|lated de|
|00000f40| 73 6b 74 6f 70 0d 2d 2d | 20 72 65 74 75 72 6e 73 |sktop.--| returns|
|00000f50| 20 64 65 73 74 69 6e 61 | 74 69 6f 6e 20 77 68 65 | destina|tion whe|
|00000f60| 72 65 20 64 72 6f 70 70 | 65 64 0d 66 75 6e 63 74 |re dropp|ed.funct|
|00000f70| 69 6f 6e 20 64 65 73 6b | 74 6f 70 44 72 61 67 20 |ion desk|topDrag |
|00000f80| 6f 62 6a 4c 69 73 74 2c | 20 64 65 73 74 4c 69 73 |objList,| destLis|
|00000f90| 74 2c 20 6f 6b 4c 69 73 | 74 0d 2d 2d 20 70 72 6f |t, okLis|t.-- pro|
|00000fa0| 62 61 62 6c 79 20 72 75 | 6e 73 20 72 65 61 6c 6c |bably ru|ns reall|
|00000fb0| 6c 6c 6c 6c 20 73 6c 6c | 6c 6c 6c 6f 6f 6f 6f 77 |llll sll|llloooow|
|00000fc0| 77 77 77 20 6f 6e 20 53 | 45 0d 70 75 74 20 74 68 |www on S|E.put th|
|00000fd0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 69 74 65 6d |e number| of item|
|00000fe0| 73 20 69 6e 20 64 65 73 | 74 4c 69 73 74 20 69 6e |s in des|tList in|
|00000ff0| 74 6f 20 6e 75 6d 44 65 | 73 74 73 0d 70 75 74 20 |to numDe|sts.put |
|00001000| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 69 74 |the numb|er of it|
|00001010| 65 6d 73 20 69 6e 20 6f | 62 6a 4c 69 73 74 20 69 |ems in o|bjList i|
|00001020| 6e 74 6f 20 6e 75 6d 4f | 62 6a 73 0d 70 75 74 20 |nto numO|bjs.put |
|00001030| 65 6d 70 74 79 20 69 6e | 74 6f 20 66 69 6e 61 6c |empty in|to final|
|00001040| 44 65 73 74 0d 2d 2d 20 | 77 69 6c 6c 20 77 6f 72 |Dest.-- |will wor|
|00001050| 6b 20 6f 6e 20 6d 75 6c | 74 69 70 6c 65 20 6d 6f |k on mul|tiple mo|
|00001060| 76 65 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |ve.put e|mpty int|
|00001070| 6f 20 64 65 6c 74 61 0d | 70 75 74 20 63 6c 69 63 |o delta.|put clic|
|00001080| 6b 48 28 29 20 69 6e 74 | 6f 20 63 48 0d 70 75 74 |kH() int|o cH.put|
|00001090| 20 63 6c 69 63 6b 56 28 | 29 20 69 6e 74 6f 20 63 | clickV(|) into c|
|000010a0| 56 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |V.repeat| with i |
|000010b0| 3d 20 31 20 74 6f 20 6e | 75 6d 4f 62 6a 73 0d 2d |= 1 to n|umObjs.-|
|000010c0| 2d 20 66 69 67 75 72 65 | 20 6f 75 74 20 64 65 6c |- figure| out del|
|000010d0| 74 61 20 70 6f 73 69 74 | 69 6f 6e 73 20 66 6f 72 |ta posit|ions for|
|000010e0| 20 6d 6f 76 69 6e 67 20 | 77 69 74 68 20 6d 6f 75 | moving |with mou|
|000010f0| 73 65 0d 70 75 74 20 28 | 69 74 65 6d 20 31 20 6f |se.put (|item 1 o|
|00001100| 66 20 74 68 65 20 6c 6f | 63 20 6f 66 20 62 74 6e |f the lo|c of btn|
|00001110| 20 28 69 74 65 6d 20 69 | 20 6f 66 20 6f 62 6a 4c | (item i| of objL|
|00001120| 69 73 74 29 29 20 c2 0d | 2d 20 63 48 20 26 20 72 |ist)) ..|- cH & r|
|00001130| 65 74 75 72 6e 20 61 66 | 74 65 72 20 64 65 6c 74 |eturn af|ter delt|
|00001140| 61 73 0d 70 75 74 20 28 | 69 74 65 6d 20 32 20 6f |as.put (|item 2 o|
|00001150| 66 20 74 68 65 20 6c 6f | 63 20 6f 66 20 62 74 6e |f the lo|c of btn|
|00001160| 20 28 69 74 65 6d 20 69 | 20 6f 66 20 6f 62 6a 4c | (item i| of objL|
|00001170| 69 73 74 29 29 20 c2 0d | 2d 20 63 56 20 26 20 72 |ist)) ..|- cV & r|
|00001180| 65 74 75 72 6e 20 61 66 | 74 65 72 20 64 65 6c 74 |eturn af|ter delt|
|00001190| 61 73 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 |as.end r|epeat.re|
|000011a0| 70 65 61 74 20 77 68 69 | 6c 65 20 74 68 65 20 6d |peat whi|le the m|
|000011b0| 6f 75 73 65 20 69 73 20 | 64 6f 77 6e 0d 6c 6f 63 |ouse is |down.loc|
|000011c0| 6b 20 73 63 72 65 65 6e | 0d 70 75 74 20 6d 6f 75 |k screen|.put mou|
|000011d0| 73 65 48 28 29 20 69 6e | 74 6f 20 6d 48 0d 70 75 |seH() in|to mH.pu|
|000011e0| 74 20 6d 6f 75 73 65 56 | 28 29 20 69 6e 74 6f 20 |t mouseV|() into |
|000011f0| 6d 56 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |mV.repea|t with i|
|00001200| 20 3d 20 31 20 74 6f 20 | 6e 75 6d 4f 62 6a 73 0d | = 1 to |numObjs.|
|00001210| 73 65 74 20 74 68 65 20 | 6c 6f 63 20 6f 66 20 62 |set the |loc of b|
|00001220| 74 6e 20 28 69 74 65 6d | 20 69 20 6f 66 20 6f 62 |tn (item| i of ob|
|00001230| 6a 4c 69 73 74 29 20 74 | 6f 20 c2 0d 6d 48 20 2b |jList) t|o ..mH +|
|00001240| 20 6c 69 6e 65 20 69 2a | 32 2d 31 20 6f 66 20 64 | line i*|2-1 of d|
|00001250| 65 6c 74 61 73 2c 20 6d | 56 20 2b 20 6c 69 6e 65 |eltas, m|V + line|
|00001260| 20 69 2a 32 20 6f 66 20 | 64 65 6c 74 61 73 0d 65 | i*2 of |deltas.e|
|00001270| 6e 64 20 72 65 70 65 61 | 74 0d 75 6e 6c 6f 63 6b |nd repea|t.unlock|
|00001280| 20 73 63 72 65 65 6e 0d | 70 75 74 20 65 6d 70 74 | screen.|put empt|
|00001290| 79 20 69 6e 74 6f 20 66 | 69 6e 61 6c 44 65 73 74 |y into f|inalDest|
|000012a0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|000012b0| 20 31 20 74 6f 20 6e 75 | 6d 44 65 73 74 73 0d 69 | 1 to nu|mDests.i|
|000012c0| 66 20 74 68 65 20 6d 6f | 75 73 65 4c 6f 63 20 69 |f the mo|useLoc i|
|000012d0| 73 20 77 69 74 68 69 6e | 20 74 68 65 20 72 65 63 |s within| the rec|
|000012e0| 74 20 6f 66 20 62 74 6e | 20 28 69 74 65 6d 20 69 |t of btn| (item i|
|000012f0| 20 6f 66 20 64 65 73 74 | 4c 69 73 74 29 20 74 68 | of dest|List) th|
|00001300| 65 6e 0d 73 65 74 20 68 | 69 6c 69 74 65 20 6f 66 |en.set h|ilite of|
|00001310| 20 62 74 6e 20 28 69 74 | 65 6d 20 69 20 6f 66 20 | btn (it|em i of |
|00001320| 64 65 73 74 4c 69 73 74 | 29 20 74 6f 20 74 72 75 |destList|) to tru|
|00001330| 65 0d 70 75 74 20 69 74 | 65 6d 20 69 20 6f 66 20 |e.put it|em i of |
|00001340| 64 65 73 74 4c 69 73 74 | 20 69 6e 74 6f 20 66 69 |destList| into fi|
|00001350| 6e 61 6c 44 65 73 74 0d | 65 6c 73 65 0d 73 65 74 |nalDest.|else.set|
|00001360| 20 68 69 6c 69 74 65 20 | 6f 66 20 62 74 6e 20 28 | hilite |of btn (|
|00001370| 69 74 65 6d 20 69 20 6f | 66 20 64 65 73 74 4c 69 |item i o|f destLi|
|00001380| 73 74 29 20 74 6f 20 66 | 61 6c 73 65 0d 65 6e 64 |st) to f|alse.end|
|00001390| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 | if.end |repeat.e|
|000013a0| 6e 64 20 72 65 70 65 61 | 74 0d 2d 2d 3f 3f 3f 69 |nd repea|t.--???i|
|000013b0| 66 20 6f 6b 4c 69 73 74 | 20 63 6f 6e 74 61 69 6e |f okList| contain|
|000013c0| 73 20 66 69 6e 61 6c 44 | 65 73 74 20 74 68 65 6e |s finalD|est then|
|000013d0| 0d 2d 2d 65 6c 73 65 0d | 72 65 70 65 61 74 20 77 |.--else.|repeat w|
|000013e0| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 6e 75 6d |ith i = |1 to num|
|000013f0| 4f 62 6a 73 0d 73 65 74 | 20 74 68 65 20 6c 6f 63 |Objs.set| the loc|
|00001400| 20 6f 66 20 62 74 6e 20 | 28 69 74 65 6d 20 69 20 | of btn |(item i |
|00001410| 6f 66 20 6f 62 6a 4c 69 | 73 74 29 20 74 6f 20 c2 |of objLi|st) to .|
|00001420| 0d 63 48 20 2b 20 6c 69 | 6e 65 20 69 2a 32 2d 31 |.cH + li|ne i*2-1|
|00001430| 20 6f 66 20 64 65 6c 74 | 61 73 2c 20 63 56 20 2b | of delt|as, cV +|
|00001440| 20 6c 69 6e 65 20 69 2a | 32 20 6f 66 20 64 65 6c | line i*|2 of del|
|00001450| 74 61 73 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 2d |tas.end |repeat.-|
|00001460| 2d 65 6e 64 20 69 66 0d | 72 65 70 65 61 74 20 77 |-end if.|repeat w|
|00001470| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 6e 75 6d |ith i = |1 to num|
|00001480| 44 65 73 74 73 0d 73 65 | 74 20 68 69 6c 69 74 65 |Dests.se|t hilite|
|00001490| 20 6f 66 20 62 74 6e 20 | 28 69 74 65 6d 20 69 20 | of btn |(item i |
|000014a0| 6f 66 20 64 65 73 74 4c | 69 73 74 29 20 74 6f 20 |of destL|ist) to |
|000014b0| 66 61 6c 73 65 0d 65 6e | 64 20 72 65 70 65 61 74 |false.en|d repeat|
|000014c0| 0d 72 65 74 75 72 6e 20 | 66 69 6e 61 6c 44 65 73 |.return |finalDes|
|000014d0| 74 0d 65 6e 64 20 64 65 | 73 6b 74 6f 70 44 72 61 |t.end de|sktopDra|
|000014e0| 67 0d 0d 6f 6e 20 46 6c | 61 73 68 20 42 75 74 74 |g..on Fl|ash Butt|
|000014f0| 6f 6e 4e 61 6d 65 2c 6e | 0d 66 6c 61 73 68 42 74 |onName,n|.flashBt|
|00001500| 6e 20 6e 0d 65 6e 64 20 | 66 6c 61 73 68 0d 0d 66 |n n.end |flash..f|
|00001510| 75 6e 63 74 69 6f 6e 20 | 6d 61 6b 65 49 74 65 6d |unction |makeItem|
|00001520| 73 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |s.put em|pty into|
|00001530| 20 6c 69 73 74 0d 72 65 | 70 65 61 74 20 77 69 74 | list.re|peat wit|
|00001540| 68 20 69 20 3d 20 31 20 | 74 6f 20 74 68 65 20 70 |h i = 1 |to the p|
|00001550| 61 72 61 6d 43 6f 75 6e | 74 0d 70 75 74 20 70 61 |aramCoun|t.put pa|
|00001560| 72 61 6d 28 69 29 20 26 | 20 22 2c 22 20 61 66 74 |ram(i) &| "," aft|
|00001570| 65 72 20 6c 69 73 74 0d | 65 6e 64 20 72 65 70 65 |er list.|end repe|
|00001580| 61 74 0d 64 65 6c 65 74 | 65 20 74 68 65 20 6c 61 |at.delet|e the la|
|00001590| 73 74 20 63 68 61 72 20 | 6f 66 20 6c 69 73 74 0d |st char |of list.|
|000015a0| 72 65 74 75 72 6e 20 6c | 69 73 74 0d 65 6e 64 20 |return l|ist.end |
|000015b0| 6d 61 6b 65 49 74 65 6d | 73 0d 0d 6f 6e 20 6c 6f |makeItem|s..on lo|
|000015c0| 6f 6b 42 75 73 79 20 6e | 75 6d 53 65 63 73 2c 20 |okBusy n|umSecs, |
|000015d0| 73 6f 75 6e 64 45 66 66 | 65 63 74 0d 70 75 74 20 |soundEff|ect.put |
|000015e0| 74 68 65 20 74 69 63 6b | 73 20 69 6e 74 6f 20 73 |the tick|s into s|
|000015f0| 74 61 72 74 54 69 63 6b | 73 0d 72 65 70 65 61 74 |tartTick|s.repeat|
|00001600| 20 75 6e 74 69 6c 20 74 | 68 65 20 74 69 63 6b 73 | until t|he ticks|
|00001610| 20 2d 20 73 74 61 72 74 | 54 69 63 6b 73 20 3e 6e | - start|Ticks >n|
|00001620| 75 6d 53 65 63 73 2a 36 | 30 20 6f 72 20 74 68 65 |umSecs*6|0 or the|
|00001630| 20 6d 6f 75 73 65 43 6c | 69 63 6b 0d 69 66 20 73 | mouseCl|ick.if s|
|00001640| 6f 75 6e 64 45 66 66 65 | 63 74 20 69 73 20 6e 6f |oundEffe|ct is no|
|00001650| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 2d 2d 70 |t empty |then.--p|
|00001660| 75 74 20 73 6f 75 6e 64 | 45 66 66 65 63 74 0d 2d |ut sound|Effect.-|
|00001670| 2d 3f 3f 3f 70 6c 61 79 | 20 73 6f 75 6e 64 45 66 |-???play| soundEf|
|00001680| 66 65 63 74 0d 65 6e 64 | 20 69 66 0d 73 65 74 20 |fect.end| if.set |
|00001690| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|000016a0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 6c |end repe|at.end l|
|000016b0| 6f 6f 6b 42 75 73 79 0d | 0d 2d 2d 2d 2d 2d 2d 2d |ookBusy.|.-------|
|000016c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 6f |--------|------.o|
|000016d0| 6e 20 75 70 64 61 74 65 | 45 76 61 6c 20 76 61 6c |n update|Eval val|
|000016e0| 75 65 0d 67 6c 6f 62 61 | 6c 20 53 41 50 72 6f 62 |ue.globa|l SAProb|
|000016f0| 6c 65 6d 4e 75 6d 62 65 | 72 2c 20 53 41 45 76 61 |lemNumbe|r, SAEva|
|00001700| 6c 44 61 74 61 0d 0d 69 | 66 20 69 74 65 6d 20 31 |lData..i|f item 1|
|00001710| 20 6f 66 20 6c 69 6e 65 | 20 53 41 50 72 6f 62 6c | of line| SAProbl|
|00001720| 65 6d 4e 75 6d 62 65 72 | 20 6f 66 20 53 41 45 76 |emNumber| of SAEv|
|00001730| 61 6c 44 61 74 61 20 69 | 73 20 65 6d 70 74 79 20 |alData i|s empty |
|00001740| c2 0d 74 68 65 6e 20 70 | 75 74 20 31 20 69 6e 74 |..then p|ut 1 int|
|00001750| 6f 20 69 74 65 6d 20 31 | 20 6f 66 20 6c 69 6e 65 |o item 1| of line|
|00001760| 20 53 41 50 72 6f 62 6c | 65 6d 4e 75 6d 62 65 72 | SAProbl|emNumber|
|00001770| 20 6f 66 20 53 41 45 76 | 61 6c 44 61 74 61 0d 65 | of SAEv|alData.e|
|00001780| 6c 73 65 20 61 64 64 20 | 31 20 74 6f 20 69 74 65 |lse add |1 to ite|
|00001790| 6d 20 31 20 6f 66 20 6c | 69 6e 65 20 53 41 50 72 |m 1 of l|ine SAPr|
|000017a0| 6f 62 6c 65 6d 4e 75 6d | 62 65 72 20 6f 66 20 53 |oblemNum|ber of S|
|000017b0| 41 45 76 61 6c 44 61 74 | 61 0d 70 75 74 20 76 61 |AEvalDat|a.put va|
|000017c0| 6c 75 65 20 69 6e 74 6f | 20 69 74 65 6d 20 32 20 |lue into| item 2 |
|000017d0| 6f 66 20 6c 69 6e 65 20 | 53 41 50 72 6f 62 6c 65 |of line |SAProble|
|000017e0| 6d 4e 75 6d 62 65 72 20 | 6f 66 20 53 41 45 76 61 |mNumber |of SAEva|
|000017f0| 6c 44 61 74 61 0d 0d 65 | 6e 64 20 75 70 64 61 74 |lData..e|nd updat|
|00001800| 65 45 76 61 6c 0d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |eEval.--|--------|
|00001810| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0d 0d 2d 2d |--------|---...--|
|00001820| 2f 20 64 65 76 65 6c 6f | 70 6d 65 6e 74 20 74 6f |/ develo|pment to|
|00001830| 6f 6c 73 20 73 74 61 72 | 74 20 2f 2d 2d 0d 0d 2d |ols star|t /--..-|
|00001840| 2d 54 4f 4f 4c 53 20 43 | 4f 44 45 20 62 79 20 52 |-TOOLS C|ODE by R|
|00001850| 57 20 31 31 2f 31 35 0d | 6f 6e 20 64 6e 6f 74 65 |W 11/15.|on dnote|
|00001860| 4f 70 74 69 6f 6e 73 0d | 69 66 20 74 68 65 20 6f |Options.|if the o|
|00001870| 70 74 69 6f 6e 6b 65 79 | 20 69 73 20 64 6f 77 6e |ptionkey| is down|
|00001880| 20 74 68 65 6e 0d 73 65 | 74 20 74 68 65 20 6c 6f | then.se|t the lo|
|00001890| 63 20 6f 66 20 63 64 20 | 66 6c 64 20 64 65 76 6e |c of cd |fld devn|
|000018a0| 6f 74 65 20 74 6f 20 74 | 68 65 20 6d 6f 75 73 65 |ote to t|he mouse|
|000018b0| 6c 6f 63 0d 65 6c 73 65 | 20 69 66 20 74 68 65 20 |loc.else| if the |
|000018c0| 63 6f 6d 6d 61 6e 64 4b | 65 79 20 69 73 20 64 6f |commandK|ey is do|
|000018d0| 77 6e 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |wn then.|answer "|
|000018e0| 68 69 64 65 20 64 6e 6f | 74 65 3f 22 20 77 69 74 |hide dno|te?" wit|
|000018f0| 68 20 22 79 65 73 22 20 | 6f 72 20 22 6e 6f 22 0d |h "yes" |or "no".|
|00001900| 69 66 20 69 74 20 69 73 | 20 22 79 65 73 22 20 74 |if it is| "yes" t|
|00001910| 68 65 6e 20 68 69 64 65 | 20 63 64 20 66 6c 64 20 |hen hide| cd fld |
|00001920| 64 65 76 6e 6f 74 65 0d | 65 6e 64 20 69 66 0d 65 |devnote.|end if.e|
|00001930| 6e 64 20 64 6e 6f 74 65 | 4f 70 74 69 6f 6e 73 0d |nd dnote|Options.|
|00001940| 0d 6f 6e 20 74 6f 6f 6c | 73 20 68 61 6e 64 4e 61 |.on tool|s handNa|
|00001950| 6d 65 2c 6f 70 74 70 61 | 72 61 6d 73 0d 67 65 74 |me,optpa|rams.get|
|00001960| 20 74 68 65 20 70 61 72 | 61 6d 73 0d 64 65 6c 65 | the par|ams.dele|
|00001970| 74 65 20 69 74 65 6d 20 | 31 20 6f 66 20 69 74 20 |te item |1 of it |
|00001980| 2d 2d 20 54 6f 6f 6c 73 | 20 61 6e 64 20 68 61 6e |-- Tools| and han|
|00001990| 64 6e 61 6d 65 0d 70 75 | 74 20 68 61 6e 64 4e 61 |dname.pu|t handNa|
|000019a0| 6d 65 20 26 26 20 69 74 | 20 69 6e 74 6f 20 74 68 |me && it| into th|
|000019b0| 65 43 6f 6d 6d 61 6e 64 | 0d 73 65 6e 64 20 74 68 |eCommand|.send th|
|000019c0| 65 43 6f 6d 6d 61 6e 64 | 20 74 6f 20 62 74 6e 20 |eCommand| to btn |
|000019d0| 22 52 57 20 54 6f 6f 6c | 73 22 20 6f 66 20 63 64 |"RW Tool|s" of cd|
|000019e0| 20 22 61 75 74 6f 6d 61 | 74 65 22 0d 65 6e 64 20 | "automa|te".end |
|000019f0| 74 6f 6f 6c 73 0d 0d 6f | 6e 20 64 65 6c 64 75 6d |tools..o|n deldum|
|00001a00| 6d 79 73 0d 74 6f 6f 6c | 73 20 64 65 6c 64 75 6d |mys.tool|s deldum|
|00001a10| 6d 79 73 0d 65 6e 64 20 | 64 65 6c 64 75 6d 6d 79 |mys.end |deldummy|
|00001a20| 73 0d 0d 6f 6e 20 46 69 | 6e 64 53 74 72 69 6e 67 |s..on Fi|ndString|
|00001a30| 0d 74 6f 6f 6c 73 20 46 | 69 6e 64 53 74 72 69 6e |.tools F|indStrin|
|00001a40| 67 0d 65 6e 64 20 46 69 | 6e 64 53 74 72 69 6e 67 |g.end Fi|ndString|
|00001a50| 0d 6f 6e 20 64 43 6f 6c | 6c 65 63 74 0d 74 6f 6f |.on dCol|lect.too|
|00001a60| 6c 73 20 64 43 6f 6c 6c | 65 63 74 0d 65 6e 64 20 |ls dColl|ect.end |
|00001a70| 64 43 6f 6c 6c 65 63 74 | 0d 6f 6e 20 64 48 69 64 |dCollect|.on dHid|
|00001a80| 65 0d 70 75 74 20 22 68 | 69 64 65 22 20 69 6e 74 |e.put "h|ide" int|
|00001a90| 6f 20 70 72 61 6d 0d 74 | 6f 6f 6c 73 20 73 68 6f |o pram.t|ools sho|
|00001aa0| 77 48 69 64 65 2c 70 72 | 61 6d 0d 65 6e 64 20 64 |wHide,pr|am.end d|
|00001ab0| 48 69 64 65 0d 6f 6e 20 | 64 53 68 6f 77 0d 70 75 |Hide.on |dShow.pu|
|00001ac0| 74 20 22 73 68 6f 77 22 | 20 69 6e 74 6f 20 70 72 |t "show"| into pr|
|00001ad0| 61 6d 0d 74 6f 6f 6c 73 | 20 73 68 6f 77 48 69 64 |am.tools| showHid|
|00001ae0| 65 2c 70 72 61 6d 0d 65 | 6e 64 20 64 53 68 6f 77 |e,pram.e|nd dShow|
|00001af0| 0d 6f 6e 20 6e 65 78 74 | 44 6e 6f 74 65 0d 74 6f |.on next|Dnote.to|
|00001b00| 6f 6c 73 20 6e 65 78 74 | 44 6e 6f 74 65 0d 65 6e |ols next|Dnote.en|
|00001b10| 64 20 6e 65 78 74 44 6e | 6f 74 65 0d 6f 6e 20 64 |d nextDn|ote.on d|
|00001b20| 4e 6f 74 65 20 64 6f 41 | 63 74 69 6f 6e 0d 73 65 |Note doA|ction.se|
|00001b30| 6e 64 20 22 64 4e 6f 74 | 65 22 20 26 26 20 64 6f |nd "dNot|e" && do|
|00001b40| 41 63 74 69 6f 6e 20 74 | 6f 20 62 74 6e 20 22 52 |Action t|o btn "R|
|00001b50| 57 20 54 6f 6f 6c 73 22 | 20 6f 66 20 63 61 72 64 |W Tools"| of card|
|00001b60| 20 61 75 74 6f 6d 61 74 | 65 0d 65 6e 64 20 64 4e | automat|e.end dN|
|00001b70| 6f 74 65 0d 2d 2d 20 65 | 6e 64 20 6f 66 20 52 57 |ote.-- e|nd of RW|
|00001b80| 74 6f 6f 6c 73 2d 2d 2d | 2d 2d 2d 2d 2d 0d 0d 6f |tools---|-----..o|
|00001b90| 6e 20 6e 65 78 74 4d 65 | 6e 75 0d 73 65 6e 64 20 |n nextMe|nu.send |
|00001ba0| 6e 65 78 74 4d 65 6e 75 | 20 74 6f 20 63 61 72 64 |nextMenu| to card|
|00001bb0| 20 61 75 74 6f 6d 61 74 | 65 0d 65 6e 64 20 6e 65 | automat|e.end ne|
|00001bc0| 78 74 4d 65 6e 75 0d 6f | 6e 20 6e 6f 57 68 65 72 |xtMenu.o|n noWher|
|00001bd0| 65 0d 73 65 6e 64 20 6e | 6f 57 68 65 72 65 20 74 |e.send n|oWhere t|
|00001be0| 6f 20 63 61 72 64 20 61 | 75 74 6f 6d 61 74 65 0d |o card a|utomate.|
|00001bf0| 65 6e 64 20 6e 6f 57 68 | 65 72 65 0d 6f 6e 20 6e |end noWh|ere.on n|
|00001c00| 6f 6e 65 78 74 0d 73 65 | 6e 64 20 6e 6f 6e 65 78 |onext.se|nd nonex|
|00001c10| 74 20 74 6f 20 63 61 72 | 64 20 61 75 74 6f 6d 61 |t to car|d automa|
|00001c20| 74 65 0d 65 6e 64 20 6e | 6f 6e 65 78 74 0d 6f 6e |te.end n|onext.on|
|00001c30| 20 6e 6f 50 72 65 76 0d | 73 65 6e 64 20 6e 6f 50 | noPrev.|send noP|
|00001c40| 72 65 76 20 74 6f 20 63 | 61 72 64 20 61 75 74 6f |rev to c|ard auto|
|00001c50| 6d 61 74 65 0d 65 6e 64 | 20 6e 6f 50 72 65 76 0d |mate.end| noPrev.|
|00001c60| 6f 6e 20 69 6e 73 74 61 | 6c 6c 56 69 64 65 6f 0d |on insta|llVideo.|
|00001c70| 73 65 6e 64 20 69 6e 73 | 74 61 6c 6c 56 69 64 65 |send ins|tallVide|
|00001c80| 6f 20 74 6f 20 63 61 72 | 64 20 61 75 74 6f 6d 61 |o to car|d automa|
|00001c90| 74 65 0d 65 6e 64 20 69 | 6e 73 74 61 6c 6c 56 69 |te.end i|nstallVi|
|00001ca0| 64 65 6f 0d 6f 6e 20 69 | 6e 73 74 61 6c 6c 41 75 |deo.on i|nstallAu|
|00001cb0| 64 69 6f 0d 73 65 6e 64 | 20 69 6e 73 74 61 6c 6c |dio.send| install|
|00001cc0| 41 75 64 69 6f 20 74 6f | 20 63 61 72 64 20 61 75 |Audio to| card au|
|00001cd0| 74 6f 6d 61 74 65 0d 65 | 6e 64 20 69 6e 73 74 61 |tomate.e|nd insta|
|00001ce0| 6c 6c 41 75 64 69 6f 0d | 0d 6f 6e 20 6c 6f 63 6b |llAudio.|.on lock|
|00001cf0| 75 70 0d 2d 2d 20 6c 6f | 63 6b 73 20 75 70 20 65 |up.-- lo|cks up e|
|00001d00| 76 65 72 79 20 66 69 65 | 6c 64 20 69 6e 20 74 68 |very fie|ld in th|
|00001d10| 65 20 73 74 61 63 6b 0d | 2d 2d 20 75 6e 6c 6f 63 |e stack.|-- unloc|
|00001d20| 6b 65 64 20 66 69 65 6c | 64 73 20 6e 65 65 64 20 |ked fiel|ds need |
|00001d30| 74 6f 20 62 65 20 73 63 | 72 69 70 74 65 64 20 74 |to be sc|ripted t|
|00001d40| 6f 20 62 65 20 75 6e 6c | 6f 63 6b 65 64 20 69 6e |o be unl|ocked in|
|00001d50| 20 6f 70 65 6e 43 61 72 | 64 0d 73 65 74 20 6c 6f | openCar|d.set lo|
|00001d60| 63 6b 6d 65 73 73 61 67 | 65 73 20 74 6f 20 74 72 |ckmessag|es to tr|
|00001d70| 75 65 0d 73 65 74 20 6c | 6f 63 6b 73 63 72 65 65 |ue.set l|ockscree|
|00001d80| 6e 20 74 6f 20 74 72 75 | 65 0d 73 65 74 20 63 75 |n to tru|e.set cu|
|00001d90| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 72 65 70 |rsor to |busy.rep|
|00001da0| 65 61 74 20 77 69 74 68 | 20 78 20 3d 20 31 20 74 |eat with| x = 1 t|
|00001db0| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00001dc0| 63 64 73 0d 67 6f 20 63 | 64 20 78 0d 6c 74 0d 65 |cds.go c|d x.lt.e|
|00001dd0| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 6c 6f |nd repea|t.end lo|
|00001de0| 63 6b 75 70 0d 0d 2d 2d | 2f 20 64 65 76 65 6c 6f |ckup..--|/ develo|
|00001df0| 70 6d 65 6e 74 20 74 6f | 6f 6c 73 20 65 6e 64 20 |pment to|ols end |
|00001e00| 2f 2d 2d 0d 0d 0d 0d 2d | 2d 7c 7c 7c 2d 2d 20 53 |/--....-|-|||-- S|
|00001e10| 54 41 4e 44 41 52 44 20 | 53 54 41 43 4b 20 53 43 |TANDARD |STACK SC|
|00001e20| 52 49 50 54 53 20 53 54 | 41 52 54 20 2d 2d 7c 7c |RIPTS ST|ART --|||
|00001e30| 7c 2d 2d 0d 2d 2d 20 66 | 65 62 20 32 38 2c 20 31 ||--.-- f|eb 28, 1|
|00001e40| 39 39 30 0d 0d 2d 2d 2d | 2d 7c 20 56 49 44 45 4f |990..---|-| VIDEO|
|00001e50| 20 53 43 52 49 50 54 20 | 76 65 72 73 69 6f 6e 20 | SCRIPT |version |
|00001e60| 38 0d 0d 6f 6e 20 69 64 | 6c 65 0d 69 64 6c 65 56 |8..on id|le.idleV|
|00001e70| 69 64 65 6f 43 6f 6e 74 | 72 6f 6c 6c 65 72 0d 70 |ideoCont|roller.p|
|00001e80| 61 73 73 20 69 64 6c 65 | 0d 65 6e 64 20 69 64 6c |ass idle|.end idl|
|00001e90| 65 0d 0d 6f 6e 20 67 6f | 56 69 64 65 6f 53 65 74 |e..on go|VideoSet|
|00001ea0| 75 70 0d 76 69 73 75 61 | 6c 20 69 72 69 73 20 6f |up.visua|l iris o|
|00001eb0| 70 65 6e 0d 70 75 73 68 | 20 63 61 72 64 0d 67 6f |pen.push| card.go|
|00001ec0| 20 63 61 72 64 20 22 56 | 69 64 65 6f 64 69 73 63 | card "V|ideodisc|
|00001ed0| 20 53 65 74 75 70 22 20 | 6f 66 20 73 74 61 63 6b | Setup" |of stack|
|00001ee0| 20 22 48 6f 6d 65 22 0d | 65 6e 64 20 67 6f 56 69 | "Home".|end goVi|
|00001ef0| 64 65 6f 53 65 74 75 70 | 0d 0d 6f 6e 20 73 74 65 |deoSetup|..on ste|
|00001f00| 70 56 69 64 65 6f 42 6f | 75 6e 64 20 64 69 72 2c |pVideoBo|und dir,|
|00001f10| 20 62 6f 75 6e 64 46 72 | 61 6d 65 0d 69 66 20 64 | boundFr|ame.if d|
|00001f20| 69 72 20 2a 20 76 69 64 | 65 6f 46 72 61 6d 65 28 |ir * vid|eoFrame(|
|00001f30| 29 20 3e 3d 20 64 69 72 | 20 2a 20 62 6f 75 6e 64 |) >= dir| * bound|
|00001f40| 46 72 61 6d 65 20 74 68 | 65 6e 0d 73 65 61 72 63 |Frame th|en.searc|
|00001f50| 68 56 69 64 65 6f 20 62 | 6f 75 6e 64 46 72 61 6d |hVideo b|oundFram|
|00001f60| 65 0d 62 65 65 70 0d 65 | 6c 73 65 0d 73 74 65 70 |e.beep.e|lse.step|
|00001f70| 56 69 64 65 6f 20 64 69 | 72 0d 65 6e 64 20 69 66 |Video di|r.end if|
|00001f80| 0d 65 6e 64 20 73 74 65 | 70 56 69 64 65 6f 42 6f |.end ste|pVideoBo|
|00001f90| 75 6e 64 0d 0d 6f 6e 20 | 6d 61 6b 65 56 69 64 65 |und..on |makeVide|
|00001fa0| 6f 43 6f 6e 74 72 6f 6c | 6c 65 72 0d 67 6c 6f 62 |oControl|ler.glob|
|00001fb0| 61 6c 20 67 43 6f 6e 74 | 72 6f 6c 43 6c 69 63 6b |al gCont|rolClick|
|00001fc0| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 67 43 6f 6e |.put 0 i|nto gCon|
|00001fd0| 74 72 6f 6c 43 6c 69 63 | 6b 0d 69 66 20 74 68 65 |trolClic|k.if the|
|00001fe0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 64 20 66 6c | number |of cd fl|
|00001ff0| 64 73 20 3e 20 30 20 74 | 68 65 6e 0d 69 66 20 66 |ds > 0 t|hen.if f|
|00002000| 69 6e 64 46 69 65 6c 64 | 28 22 56 69 64 65 6f 20 |indField|("Video |
|00002010| 43 6f 6e 74 72 6f 6c 6c | 65 72 22 29 20 69 73 20 |Controll|er") is |
|00002020| 6e 6f 74 20 66 61 6c 73 | 65 20 74 68 65 6e 0d 73 |not fals|e then.s|
|00002030| 68 6f 77 20 63 64 20 66 | 6c 64 20 22 56 69 64 65 |how cd f|ld "Vide|
|00002040| 6f 20 43 6f 6e 74 72 6f | 6c 6c 65 72 22 0d 65 78 |o Contro|ller".ex|
|00002050| 69 74 20 6d 61 6b 65 56 | 69 64 65 6f 43 6f 6e 74 |it makeV|ideoCont|
|00002060| 72 6f 6c 6c 65 72 0d 65 | 6e 64 20 69 66 0d 65 6e |roller.e|nd if.en|
|00002070| 64 20 69 66 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |d if.loc|k screen|
|00002080| 0d 70 75 74 20 6d 61 6b | 65 4c 69 6e 65 73 28 20 |.put mak|eLines( |
|00002090| c2 0d 22 b1 b1 b1 b1 b1 | b1 b1 b1 22 2c 20 c2 0d |..".....|...", ..|
|000020a0| 22 50 61 75 73 65 22 2c | 20 c2 0d 22 50 6c 61 79 |"Pause",| .."Play|
|000020b0| 22 2c 20 c2 0d 22 46 61 | 73 74 20 46 77 64 22 2c |", .."Fa|st Fwd",|
|000020c0| 20 c2 0d 22 46 61 73 74 | 20 52 65 76 22 2c c2 0d | .."Fast| Rev",..|
|000020d0| 22 53 74 65 70 20 46 77 | 64 22 2c 20 c2 0d 22 53 |"Step Fw|d", .."S|
|000020e0| 74 65 70 20 52 65 76 22 | 2c 20 c2 0d 22 51 75 69 |tep Rev"|, .."Qui|
|000020f0| 74 22 2c 20 22 30 3a 30 | 30 22 29 20 69 6e 74 6f |t", "0:0|0") into|
|00002100| 20 6d 65 6e 75 4c 69 73 | 74 0d 6d 61 6b 65 43 61 | menuLis|t.makeCa|
|00002110| 72 64 46 69 65 6c 64 20 | 6e 61 6d 65 2c 20 22 56 |rdField |name, "V|
|00002120| 69 64 65 6f 20 43 6f 6e | 74 72 6f 6c 6c 65 72 22 |ideo Con|troller"|
|00002130| 2c 20 c2 0d 77 69 64 74 | 68 2c 20 38 32 2c 20 68 |, ..widt|h, 82, h|
|00002140| 65 69 67 68 74 2c 31 35 | 34 2c 20 c2 0d 74 6f 70 |eight,15|4, ..top|
|00002150| 4c 65 66 74 2c 20 22 32 | 36 34 2c 31 36 36 22 2c |Left, "2|64,166",|
|00002160| c2 0d 6c 6f 63 6b 54 65 | 78 74 2c 20 74 72 75 65 |..lockTe|xt, true|
|00002170| 2c 20 74 65 78 74 46 6f | 6e 74 2c 20 22 62 74 6e |, textFo|nt, "btn|
|00002180| 65 72 61 73 20 64 65 6d | 69 22 2c 20 c2 0d 74 65 |eras dem|i", ..te|
|00002190| 78 74 53 69 7a 65 2c 31 | 32 2c 73 74 79 6c 65 2c |xtSize,1|2,style,|
|000021a0| 20 22 73 68 61 64 6f 77 | 22 2c 20 74 65 78 74 61 | "shadow|", texta|
|000021b0| 6c 69 67 6e 2c 20 63 65 | 6e 74 65 72 2c 20 77 69 |lign, ce|nter, wi|
|000021c0| 64 65 4d 61 72 67 69 6e | 73 2c 74 72 75 65 0d 70 |deMargin|s,true.p|
|000021d0| 75 74 20 6d 65 6e 75 4c | 69 73 74 20 69 6e 74 6f |ut menuL|ist into|
|000021e0| 20 63 64 20 66 6c 64 20 | 22 56 69 64 65 6f 20 43 | cd fld |"Video C|
|000021f0| 6f 6e 74 72 6f 6c 6c 65 | 72 22 0d 73 65 74 20 73 |ontrolle|r".set s|
|00002200| 63 72 69 70 74 20 6f 66 | 20 63 64 20 66 6c 64 20 |cript of| cd fld |
|00002210| 22 56 69 64 65 6f 20 43 | 6f 6e 74 72 6f 6c 6c 65 |"Video C|ontrolle|
|00002220| 72 22 20 74 6f 20 c2 0d | 6d 61 6b 65 4c 69 6e 65 |r" to ..|makeLine|
|00002230| 73 28 22 6f 6e 20 6d 6f | 75 73 65 44 6f 77 6e 22 |s("on mo|useDown"|
|00002240| 2c 20 22 76 69 64 65 6f | 43 6f 6e 74 72 6f 6c 6c |, "video|Controll|
|00002250| 65 72 22 2c 20 22 65 6e | 64 20 6d 6f 75 73 65 44 |er", "en|d mouseD|
|00002260| 6f 77 6e 22 2c 20 c2 0d | 22 6f 6e 20 6d 6f 75 73 |own", ..|"on mous|
|00002270| 65 55 70 22 2c 20 22 65 | 6e 64 20 6d 6f 75 73 65 |eUp", "e|nd mouse|
|00002280| 55 70 22 20 29 0d 63 68 | 6f 6f 73 65 20 62 72 6f |Up" ).ch|oose bro|
|00002290| 77 73 65 20 74 6f 6f 6c | 0d 75 6e 6c 6f 63 6b 20 |wse tool|.unlock |
|000022a0| 73 63 72 65 65 6e 0d 65 | 6e 64 20 6d 61 6b 65 56 |screen.e|nd makeV|
|000022b0| 69 64 65 6f 43 6f 6e 74 | 72 6f 6c 6c 65 72 0d 0d |ideoCont|roller..|
|000022c0| 6f 6e 20 76 69 64 65 6f | 43 6f 6e 74 72 6f 6c 6c |on video|Controll|
|000022d0| 65 72 0d 67 6c 6f 62 61 | 6c 20 67 56 69 64 65 6f |er.globa|l gVideo|
|000022e0| 46 69 72 73 74 46 72 61 | 6d 65 2c 20 67 56 69 64 |FirstFra|me, gVid|
|000022f0| 65 6f 4c 61 73 74 46 72 | 61 6d 65 2c 20 67 56 69 |eoLastFr|ame, gVi|
|00002300| 64 65 6f 4c 61 73 74 43 | 6f 6d 6d 61 6e 64 0d 67 |deoLastC|ommand.g|
|00002310| 6c 6f 62 61 6c 20 47 76 | 69 64 65 6f 54 79 70 65 |lobal Gv|ideoType|
|00002320| 0d 70 75 74 20 63 6c 69 | 63 6b 4c 69 6e 65 56 69 |.put cli|ckLineVi|
|00002330| 64 65 6f 28 29 20 69 6e | 74 6f 20 6c 69 6e 65 4e |deo() in|to lineN|
|00002340| 75 6d 0d 70 75 74 20 6c | 69 6e 65 20 6c 69 6e 65 |um.put l|ine line|
|00002350| 4e 75 6d 20 6f 66 20 63 | 64 20 66 6c 64 20 22 76 |Num of c|d fld "v|
|00002360| 69 64 65 6f 20 63 6f 6e | 74 72 6f 6c 6c 65 72 22 |ideo con|troller"|
|00002370| 20 69 6e 74 6f 20 63 6d | 64 4e 61 6d 65 0d 69 66 | into cm|dName.if|
|00002380| 20 6c 69 6e 65 4e 75 6d | 20 3e 20 31 20 74 68 65 | lineNum| > 1 the|
|00002390| 6e 0d 70 75 74 20 63 6d | 64 4e 61 6d 65 20 69 6e |n.put cm|dName in|
|000023a0| 74 6f 20 67 56 69 64 65 | 6f 4c 61 73 74 43 6f 6d |to gVide|oLastCom|
|000023b0| 6d 61 6e 64 0d 65 6e 64 | 20 69 66 0d 69 66 20 63 |mand.end| if.if c|
|000023c0| 6d 64 4e 61 6d 65 20 69 | 73 20 22 50 61 75 73 65 |mdName i|s "Pause|
|000023d0| 22 20 74 68 65 6e 0d 73 | 74 6f 70 56 69 64 65 6f |" then.s|topVideo|
|000023e0| 0d 65 6c 73 65 20 69 66 | 20 63 6d 64 4e 61 6d 65 |.else if| cmdName|
|000023f0| 20 69 73 20 22 50 6c 61 | 79 22 20 74 68 65 6e 0d | is "Pla|y" then.|
|00002400| 69 66 20 76 69 64 65 6f | 46 72 61 6d 65 28 29 20 |if video|Frame() |
|00002410| 3c 20 67 56 69 64 65 6f | 4c 61 73 74 46 72 61 6d |< gVideo|LastFram|
|00002420| 65 20 74 68 65 6e 0d 70 | 6c 61 79 56 69 64 65 6f |e then.p|layVideo|
|00002430| 20 22 68 65 72 65 22 2c | 20 67 56 69 64 65 6f 4c | "here",| gVideoL|
|00002440| 61 73 74 46 72 61 6d 65 | 0d 65 6c 73 65 0d 73 65 |astFrame|.else.se|
|00002450| 61 72 63 68 56 69 64 65 | 6f 20 67 56 69 64 65 6f |archVide|o gVideo|
|00002460| 4c 61 73 74 46 72 61 6d | 65 0d 65 6e 64 20 69 66 |LastFram|e.end if|
|00002470| 0d 65 6c 73 65 20 69 66 | 20 63 6d 64 4e 61 6d 65 |.else if| cmdName|
|00002480| 20 69 73 20 22 46 61 73 | 74 20 46 77 64 22 20 74 | is "Fas|t Fwd" t|
|00002490| 68 65 6e 0d 66 61 73 74 | 56 69 64 65 6f 42 6f 75 |hen.fast|VideoBou|
|000024a0| 6e 64 20 31 2c 20 67 56 | 69 64 65 6f 4c 61 73 74 |nd 1, gV|ideoLast|
|000024b0| 46 72 61 6d 65 0d 65 6c | 73 65 20 69 66 20 63 6d |Frame.el|se if cm|
|000024c0| 64 4e 61 6d 65 20 69 73 | 20 22 46 61 73 74 20 52 |dName is| "Fast R|
|000024d0| 65 76 22 20 74 68 65 6e | 0d 66 61 73 74 56 69 64 |ev" then|.fastVid|
|000024e0| 65 6f 42 6f 75 6e 64 20 | 2d 31 2c 20 67 56 69 64 |eoBound |-1, gVid|
|000024f0| 65 6f 46 69 72 73 74 46 | 72 61 6d 65 0d 65 6c 73 |eoFirstF|rame.els|
|00002500| 65 20 69 66 20 63 6d 64 | 4e 61 6d 65 20 69 73 20 |e if cmd|Name is |
|00002510| 22 53 74 65 70 20 46 77 | 64 22 20 74 68 65 6e 0d |"Step Fw|d" then.|
|00002520| 73 74 65 70 56 69 64 65 | 6f 42 6f 75 6e 64 20 31 |stepVide|oBound 1|
|00002530| 2c 20 67 56 69 64 65 6f | 4c 61 73 74 46 72 61 6d |, gVideo|LastFram|
|00002540| 65 0d 65 6c 73 65 20 69 | 66 20 63 6d 64 4e 61 6d |e.else i|f cmdNam|
|00002550| 65 20 69 73 20 22 53 74 | 65 70 20 52 65 76 22 20 |e is "St|ep Rev" |
|00002560| 74 68 65 6e 0d 73 74 65 | 70 56 69 64 65 6f 42 6f |then.ste|pVideoBo|
|00002570| 75 6e 64 20 2d 31 2c 20 | 67 56 69 64 65 6f 46 69 |und -1, |gVideoFi|
|00002580| 72 73 74 46 72 61 6d 65 | 0d 65 6c 73 65 20 69 66 |rstFrame|.else if|
|00002590| 20 6c 69 6e 65 4e 75 6d | 20 3d 20 31 20 74 68 65 | lineNum| = 1 the|
|000025a0| 6e 0d 64 72 61 67 54 61 | 72 67 0d 65 6c 73 65 20 |n.dragTa|rg.else |
|000025b0| 69 66 20 63 6d 64 4e 61 | 6d 65 20 69 73 20 22 51 |if cmdNa|me is "Q|
|000025c0| 75 69 74 22 20 74 68 65 | 6e 0d 64 65 6c 65 74 65 |uit" the|n.delete|
|000025d0| 56 69 64 65 6f 43 6f 6e | 74 72 6f 6c 6c 65 72 0d |VideoCon|troller.|
|000025e0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 76 69 64 65 6f |end if.e|nd video|
|000025f0| 43 6f 6e 74 72 6f 6c 6c | 65 72 0d 0d 66 75 6e 63 |Controll|er..func|
|00002600| 74 69 6f 6e 20 63 6c 69 | 63 6b 4c 69 6e 65 56 69 |tion cli|ckLineVi|
|00002610| 64 65 6f 0d 2d 2d 20 4e | 4f 54 45 3a 20 63 6f 6e |deo.-- N|OTE: con|
|00002620| 74 72 6f 6c 6c 65 72 20 | 70 61 72 61 6d 65 74 65 |troller |paramete|
|00002630| 72 73 20 61 72 65 20 68 | 61 72 64 2d 63 6f 64 65 |rs are h|ard-code|
|00002640| 64 20 68 65 72 65 20 66 | 6f 72 20 73 70 65 65 64 |d here f|or speed|
|00002650| 2e 20 6d 77 0d 70 75 74 | 20 74 68 65 20 74 6f 70 |. mw.put| the top|
|00002660| 20 6f 66 20 63 64 20 66 | 6c 64 20 22 76 69 64 65 | of cd f|ld "vide|
|00002670| 6f 20 63 6f 6e 74 72 6f | 6c 6c 65 72 22 20 69 6e |o contro|ller" in|
|00002680| 74 6f 20 63 6f 6e 74 72 | 6f 6c 54 6f 70 0d 72 65 |to contr|olTop.re|
|00002690| 74 75 72 6e 20 74 72 75 | 6e 63 28 28 69 74 65 6d |turn tru|nc((item|
|000026a0| 20 32 20 6f 66 20 74 68 | 65 20 6d 6f 75 73 65 4c | 2 of th|e mouseL|
|000026b0| 6f 63 20 2d 20 63 6f 6e | 74 72 6f 6c 54 6f 70 29 |oc - con|trolTop)|
|000026c0| 20 2f 20 31 36 29 20 2b | 20 31 0d 65 6e 64 20 63 | / 16) +| 1.end c|
|000026d0| 6c 69 63 6b 4c 69 6e 65 | 56 69 64 65 6f 0d 0d 6f |lickLine|Video..o|
|000026e0| 6e 20 66 61 73 74 56 69 | 64 65 6f 42 6f 75 6e 64 |n fastVi|deoBound|
|000026f0| 20 64 69 72 2c 20 62 6f | 75 6e 64 46 72 61 6d 65 | dir, bo|undFrame|
|00002700| 0d 67 6c 6f 62 61 6c 20 | 67 56 69 64 65 6f 4c 61 |.global |gVideoLa|
|00002710| 73 74 46 72 61 6d 65 2c | 20 67 54 69 6d 65 52 65 |stFrame,| gTimeRe|
|00002720| 6d 61 69 6e 69 6e 67 2c | 20 67 56 69 64 65 6f 4c |maining,| gVideoL|
|00002730| 61 73 74 43 6f 6d 6d 61 | 6e 64 0d 70 75 74 20 76 |astComma|nd.put v|
|00002740| 69 64 65 6f 53 74 61 74 | 75 73 28 29 20 69 6e 74 |ideoStat|us() int|
|00002750| 6f 20 63 75 72 53 74 61 | 74 0d 76 69 64 65 6f 46 |o curSta|t.videoF|
|00002760| 72 61 6d 65 73 50 65 72 | 53 65 63 6f 6e 64 20 22 |ramesPer|Second "|
|00002770| 66 61 73 74 22 0d 70 75 | 74 20 76 69 64 65 6f 46 |fast".pu|t videoF|
|00002780| 72 61 6d 65 28 29 20 69 | 6e 74 6f 20 63 75 72 46 |rame() i|nto curF|
|00002790| 72 61 6d 65 0d 69 66 20 | 64 69 72 20 2a 20 63 75 |rame.if |dir * cu|
|000027a0| 72 46 72 61 6d 65 20 3c | 20 64 69 72 20 2a 20 62 |rFrame <| dir * b|
|000027b0| 6f 75 6e 64 46 72 61 6d | 65 20 74 68 65 6e 0d 2d |oundFram|e then.-|
|000027c0| 2d 20 70 6c 61 79 65 72 | 20 62 75 67 20 3d 20 2d |- player| bug = -|
|000027d0| 3e 20 66 6f 72 77 61 72 | 64 0d 70 6c 61 79 56 69 |> forwar|d.playVi|
|000027e0| 64 65 6f 20 63 75 72 46 | 72 61 6d 65 2c 20 62 6f |deo curF|rame, bo|
|000027f0| 75 6e 64 46 72 61 6d 65 | 0d 72 65 70 65 61 74 20 |undFrame|.repeat |
|00002800| 77 68 69 6c 65 20 74 68 | 65 20 6d 6f 75 73 65 20 |while th|e mouse |
|00002810| 69 73 20 64 6f 77 6e 0d | 75 70 64 61 74 65 56 69 |is down.|updateVi|
|00002820| 64 65 6f 54 69 6d 65 0d | 65 6e 64 20 72 65 70 65 |deoTime.|end repe|
|00002830| 61 74 0d 65 6e 64 20 69 | 66 0d 69 66 20 69 74 65 |at.end i|f.if ite|
|00002840| 6d 20 31 20 6f 66 20 63 | 75 72 53 74 61 74 20 69 |m 1 of c|urStat i|
|00002850| 73 20 22 70 6c 61 79 22 | 20 74 68 65 6e 0d 69 66 |s "play"| then.if|
|00002860| 20 76 69 64 65 6f 46 72 | 61 6d 65 28 29 20 3c 20 | videoFr|ame() < |
|00002870| 67 56 69 64 65 6f 4c 61 | 73 74 46 72 61 6d 65 20 |gVideoLa|stFrame |
|00002880| 74 68 65 6e 0d 70 75 74 | 20 22 70 6c 61 79 22 20 |then.put| "play" |
|00002890| 69 6e 74 6f 20 67 56 69 | 64 65 6f 4c 61 73 74 43 |into gVi|deoLastC|
|000028a0| 6f 6d 6d 61 6e 64 0d 70 | 6c 61 79 56 69 64 65 6f |ommand.p|layVideo|
|000028b0| 20 22 68 65 72 65 22 2c | 20 67 56 69 64 65 6f 4c | "here",| gVideoL|
|000028c0| 61 73 74 46 72 61 6d 65 | 0d 2d 2d 20 77 61 69 74 |astFrame|.-- wait|
|000028d0| 46 6f 72 4d 6f 75 73 65 | 43 6c 69 63 6b 0d 65 6e |ForMouse|Click.en|
|000028e0| 64 20 69 66 0d 65 6c 73 | 65 0d 73 74 6f 70 56 69 |d if.els|e.stopVi|
|000028f0| 64 65 6f 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 66 |deo.end |if.end f|
|00002900| 61 73 74 56 69 64 65 6f | 42 6f 75 6e 64 0d 0d 6f |astVideo|Bound..o|
|00002910| 6e 20 69 64 6c 65 56 69 | 64 65 6f 43 6f 6e 74 72 |n idleVi|deoContr|
|00002920| 6f 6c 6c 65 72 0d 67 6c | 6f 62 61 6c 20 67 54 69 |oller.gl|obal gTi|
|00002930| 6d 65 52 65 6d 61 69 6e | 69 6e 67 2c 20 67 56 69 |meRemain|ing, gVi|
|00002940| 64 65 6f 4c 61 73 74 43 | 6f 6d 6d 61 6e 64 0d 69 |deoLastC|ommand.i|
|00002950| 66 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |f the nu|mber of |
|00002960| 63 64 20 66 6c 64 73 20 | 3e 20 30 20 74 68 65 6e |cd flds |> 0 then|
|00002970| 0d 69 66 20 28 74 68 65 | 20 73 68 6f 72 74 20 6e |.if (the| short n|
|00002980| 61 6d 65 20 6f 66 20 6c | 61 73 74 20 63 64 20 66 |ame of l|ast cd f|
|00002990| 6c 64 20 69 73 20 22 76 | 69 64 65 6f 20 63 6f 6e |ld is "v|ideo con|
|000029a0| 74 72 6f 6c 6c 65 72 22 | 29 20 74 68 65 6e 0d 67 |troller"|) then.g|
|000029b0| 6c 6f 62 61 6c 20 67 44 | 69 73 63 53 69 64 65 0d |lobal gD|iscSide.|
|000029c0| 69 66 20 67 44 69 73 63 | 53 69 64 65 20 3c 3e 20 |if gDisc|Side <> |
|000029d0| 22 6e 6f 6e 65 22 20 74 | 68 65 6e 0d 75 70 64 61 |"none" t|hen.upda|
|000029e0| 74 65 56 69 64 65 6f 54 | 69 6d 65 0d 69 66 20 67 |teVideoT|ime.if g|
|000029f0| 54 69 6d 65 52 65 6d 61 | 69 6e 69 6e 67 20 b2 20 |TimeRema|ining . |
|00002a00| 30 20 74 68 65 6e 0d 69 | 66 20 67 56 69 64 65 6f |0 then.i|f gVideo|
|00002a10| 4c 61 73 74 43 6f 6d 6d | 61 6e 64 20 69 73 20 22 |LastComm|and is "|
|00002a20| 70 6c 61 79 22 20 74 68 | 65 6e 20 64 65 6c 65 74 |play" th|en delet|
|00002a30| 65 56 69 64 65 6f 43 6f | 6e 74 72 6f 6c 6c 65 72 |eVideoCo|ntroller|
|00002a40| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00002a50| 67 54 69 6d 65 52 65 6d | 61 69 6e 69 6e 67 0d 65 |gTimeRem|aining.e|
|00002a60| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00002a70| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 | if.end |if.end i|
|00002a80| 64 6c 65 56 69 64 65 6f | 43 6f 6e 74 72 6f 6c 6c |dleVideo|Controll|
|00002a90| 65 72 0d 0d 6f 6e 20 77 | 61 69 74 46 6f 72 4d 6f |er..on w|aitForMo|
|00002aa0| 75 73 65 43 6c 69 63 6b | 0d 65 78 69 74 20 77 61 |useClick|.exit wa|
|00002ab0| 69 74 46 6f 72 4d 6f 75 | 73 65 43 6c 69 63 6b 0d |itForMou|seClick.|
|00002ac0| 67 6c 6f 62 61 6c 20 67 | 54 69 6d 65 52 65 6d 61 |global g|TimeRema|
|00002ad0| 69 6e 69 6e 67 2c 20 67 | 43 6f 6e 74 72 6f 6c 43 |ining, g|ControlC|
|00002ae0| 6c 69 63 6b 0d 2d 2d 20 | 67 43 6f 6e 74 72 6f 6c |lick.-- |gControl|
|00002af0| 43 6c 69 63 6b 20 63 6f | 75 6e 74 73 20 68 6f 77 |Click co|unts how|
|00002b00| 20 6d 61 6e 79 20 74 69 | 6d 65 73 20 77 61 69 74 | many ti|mes wait|
|00002b10| 46 6f 72 4d 6f 75 73 65 | 43 6c 69 63 6b 20 68 61 |ForMouse|Click ha|
|00002b20| 73 20 62 65 65 6e 0d 2d | 2d 20 69 6e 76 6f 6b 65 |s been.-|- invoke|
|00002b30| 64 2e 20 49 66 20 74 68 | 65 20 75 73 65 72 20 63 |d. If th|e user c|
|00002b40| 6c 69 63 6b 73 20 74 68 | 65 20 63 6f 6e 74 72 6f |licks th|e contro|
|00002b50| 6c 6c 65 72 20 28 64 72 | 61 67 20 6f 72 20 70 6c |ller (dr|ag or pl|
|00002b60| 61 79 29 20 6d 6f 72 65 | 0d 2d 2d 20 74 68 61 6e |ay) more|.-- than|
|00002b70| 20 36 20 74 69 6d 65 73 | 2c 20 74 68 65 20 76 69 | 6 times|, the vi|
|00002b80| 64 65 6f 20 61 6e 64 20 | 74 68 65 20 63 6c 6f 63 |deo and |the cloc|
|00002b90| 6b 20 77 69 6c 6c 20 73 | 74 6f 70 2e 0d 2d 2d 20 |k will s|top..-- |
|00002ba0| 49 66 20 77 65 20 64 6f | 6e 27 74 20 63 68 65 63 |If we do|n't chec|
|00002bb0| 6b 20 74 68 69 73 2c 20 | 74 68 65 20 75 73 65 72 |k this, |the user|
|00002bc0| 20 63 6f 75 6c 64 20 67 | 65 74 20 61 20 22 74 6f | could g|et a "to|
|00002bd0| 6f 20 6d 75 63 68 20 72 | 65 63 75 72 73 69 6f 6e |o much r|ecursion|
|00002be0| 22 0d 2d 2d 20 64 69 61 | 6c 6f 67 20 62 6f 78 2c |".-- dia|log box,|
|00002bf0| 20 77 68 69 63 68 20 69 | 73 20 75 6e 61 63 63 65 | which i|s unacce|
|00002c00| 70 74 61 62 6c 65 2e 0d | 61 64 64 20 31 20 74 6f |ptable..|add 1 to|
|00002c10| 20 67 43 6f 6e 74 72 6f | 6c 43 6c 69 63 6b 0d 69 | gContro|lClick.i|
|00002c20| 66 20 67 43 6f 6e 74 72 | 6f 6c 43 6c 69 63 6b 20 |f gContr|olClick |
|00002c30| 3e 20 36 20 74 68 65 6e | 0d 70 75 74 20 30 20 69 |> 6 then|.put 0 i|
|00002c40| 6e 74 6f 20 67 43 6f 6e | 74 72 6f 6c 43 6c 69 63 |nto gCon|trolClic|
|00002c50| 6b 0d 2d 2d 70 6c 61 79 | 20 62 6f 69 6e 67 0d 73 |k.--play| boing.s|
|00002c60| 74 6f 70 56 69 64 65 6f | 0d 65 78 69 74 20 77 61 |topVideo|.exit wa|
|00002c70| 69 74 46 6f 72 4d 6f 75 | 73 65 43 6c 69 63 6b 0d |itForMou|seClick.|
|00002c80| 65 6e 64 20 69 66 0d 72 | 65 70 65 61 74 20 75 6e |end if.r|epeat un|
|00002c90| 74 69 6c 20 74 68 65 20 | 6d 6f 75 73 65 20 69 73 |til the |mouse is|
|00002ca0| 20 64 6f 77 6e 0d 69 66 | 20 67 54 69 6d 65 52 65 | down.if| gTimeRe|
|00002cb0| 6d 61 69 6e 69 6e 67 20 | b2 20 30 20 74 68 65 6e |maining |. 0 then|
|00002cc0| 0d 64 65 6c 65 74 65 56 | 69 64 65 6f 43 6f 6e 74 |.deleteV|ideoCont|
|00002cd0| 72 6f 6c 6c 65 72 0d 70 | 75 74 20 65 6d 70 74 79 |roller.p|ut empty|
|00002ce0| 20 69 6e 74 6f 20 67 54 | 69 6d 65 52 65 6d 61 69 | into gT|imeRemai|
|00002cf0| 6e 69 6e 67 0d 65 78 69 | 74 20 74 6f 20 48 79 70 |ning.exi|t to Hyp|
|00002d00| 65 72 43 61 72 64 0d 65 | 6e 64 20 69 66 0d 75 70 |erCard.e|nd if.up|
|00002d10| 64 61 74 65 56 69 64 65 | 6f 54 69 6d 65 0d 65 6e |dateVide|oTime.en|
|00002d20| 64 20 72 65 70 65 61 74 | 0d 63 68 65 63 6b 56 69 |d repeat|.checkVi|
|00002d30| 64 65 6f 43 6f 6e 74 72 | 6f 6c 6c 65 72 0d 65 6e |deoContr|oller.en|
|00002d40| 64 20 77 61 69 74 46 6f | 72 4d 6f 75 73 65 43 6c |d waitFo|rMouseCl|
|00002d50| 69 63 6b 0d 0d 6f 6e 20 | 75 70 64 61 74 65 56 69 |ick..on |updateVi|
|00002d60| 64 65 6f 54 69 6d 65 0d | 67 6c 6f 62 61 6c 20 47 |deoTime.|global G|
|00002d70| 76 69 64 65 6f 4c 61 73 | 74 46 72 61 6d 65 2c 20 |videoLas|tFrame, |
|00002d80| 67 54 69 6d 65 52 65 6d | 61 69 6e 69 6e 67 0d 70 |gTimeRem|aining.p|
|00002d90| 75 74 20 28 47 76 69 64 | 65 6f 4c 61 73 74 46 72 |ut (Gvid|eoLastFr|
|00002da0| 61 6d 65 20 2d 20 76 69 | 64 65 6f 46 72 61 6d 65 |ame - vi|deoFrame|
|00002db0| 28 29 20 2b 20 32 39 29 | 20 64 69 76 20 33 30 20 |() + 29)| div 30 |
|00002dc0| 69 6e 74 6f 20 67 54 69 | 6d 65 52 65 6d 61 69 6e |into gTi|meRemain|
|00002dd0| 69 6e 67 0d 69 66 20 67 | 54 69 6d 65 52 65 6d 61 |ing.if g|TimeRema|
|00002de0| 69 6e 69 6e 67 20 b3 20 | 30 20 61 6e 64 20 67 54 |ining . |0 and gT|
|00002df0| 69 6d 65 52 65 6d 61 69 | 6e 69 6e 67 20 b2 20 36 |imeRemai|ning . 6|
|00002e00| 30 30 20 74 68 65 6e 0d | 70 75 74 20 67 54 69 6d |00 then.|put gTim|
|00002e10| 65 52 65 6d 61 69 6e 69 | 6e 67 20 64 69 76 20 36 |eRemaini|ng div 6|
|00002e20| 30 20 26 20 22 3a 22 20 | 26 20 28 28 67 54 69 6d |0 & ":" |& ((gTim|
|00002e30| 65 52 65 6d 61 69 6e 69 | 6e 67 20 6d 6f 64 20 36 |eRemaini|ng mod 6|
|00002e40| 30 29 20 64 69 76 20 31 | 30 29 20 c2 0d 26 20 28 |0) div 1|0) ..& (|
|00002e50| 67 54 69 6d 65 52 65 6d | 61 69 6e 69 6e 67 20 6d |gTimeRem|aining m|
|00002e60| 6f 64 20 31 30 29 20 69 | 6e 74 6f 20 6c 61 73 74 |od 10) i|nto last|
|00002e70| 20 6c 69 6e 65 20 6f 66 | 20 63 64 20 66 6c 64 20 | line of| cd fld |
|00002e80| 22 76 69 64 65 6f 20 63 | 6f 6e 74 72 6f 6c 6c 65 |"video c|ontrolle|
|00002e90| 72 22 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 75 70 |r".end i|f.end up|
|00002ea0| 64 61 74 65 56 69 64 65 | 6f 54 69 6d 65 0d 0d 6f |dateVide|oTime..o|
|00002eb0| 6e 20 63 68 65 63 6b 56 | 69 64 65 6f 43 6f 6e 74 |n checkV|ideoCont|
|00002ec0| 72 6f 6c 6c 65 72 0d 69 | 66 20 74 68 65 20 6d 6f |roller.i|f the mo|
|00002ed0| 75 73 65 4c 6f 63 20 69 | 73 20 77 69 74 68 69 6e |useLoc i|s within|
|00002ee0| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 63 64 20 | the rec|t of cd |
|00002ef0| 66 6c 64 20 22 76 69 64 | 65 6f 20 63 6f 6e 74 72 |fld "vid|eo contr|
|00002f00| 6f 6c 6c 65 72 22 20 74 | 68 65 6e 0d 2d 2d 20 64 |oller" t|hen.-- d|
|00002f10| 6f 20 74 68 69 73 20 77 | 69 74 68 6f 75 74 20 72 |o this w|ithout r|
|00002f20| 65 63 75 72 73 69 6f 6e | 2c 20 73 6f 6d 65 68 6f |ecursion|, someho|
|00002f30| 77 0d 73 65 6e 64 20 76 | 69 64 65 6f 43 6f 6e 74 |w.send v|ideoCont|
|00002f40| 72 6f 6c 6c 65 72 20 74 | 6f 20 63 64 20 66 6c 64 |roller t|o cd fld|
|00002f50| 20 22 76 69 64 65 6f 20 | 63 6f 6e 74 72 6f 6c 6c | "video |controll|
|00002f60| 65 72 22 0d 2d 2d 65 78 | 69 74 20 74 6f 20 48 79 |er".--ex|it to Hy|
|00002f70| 70 65 72 43 61 72 64 0d | 65 6c 73 65 0d 67 65 74 |perCard.|else.get|
|00002f80| 20 74 68 65 20 6d 6f 75 | 73 65 4c 6f 63 0d 63 6c | the mou|seLoc.cl|
|00002f90| 69 63 6b 20 61 74 20 69 | 74 0d 65 78 69 74 20 74 |ick at i|t.exit t|
|00002fa0| 6f 20 48 79 70 65 72 43 | 61 72 64 0d 65 6e 64 20 |o HyperC|ard.end |
|00002fb0| 69 66 0d 65 6e 64 20 63 | 68 65 63 6b 56 69 64 65 |if.end c|heckVide|
|00002fc0| 6f 43 6f 6e 74 72 6f 6c | 6c 65 72 0d 0d 6f 6e 20 |oControl|ler..on |
|00002fd0| 64 65 6c 65 74 65 56 69 | 64 65 6f 43 6f 6e 74 72 |deleteVi|deoContr|
|00002fe0| 6f 6c 6c 65 72 0d 67 6c | 6f 62 61 6c 20 67 44 69 |oller.gl|obal gDi|
|00002ff0| 73 63 53 69 64 65 0d 69 | 66 20 67 44 69 73 63 53 |scSide.i|f gDiscS|
|00003000| 69 64 65 20 3c 3e 20 22 | 6e 6f 6e 65 22 20 74 68 |ide <> "|none" th|
|00003010| 65 6e 20 73 74 6f 70 56 | 69 64 65 6f 0d 69 66 20 |en stopV|ideo.if |
|00003020| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 64 |the numb|er of cd|
|00003030| 20 66 6c 64 73 20 3e 20 | 30 20 74 68 65 6e 0d 69 | flds > |0 then.i|
|00003040| 66 20 66 69 6e 64 46 69 | 65 6c 64 28 22 56 69 64 |f findFi|eld("Vid|
|00003050| 65 6f 20 43 6f 6e 74 72 | 6f 6c 6c 65 72 22 29 20 |eo Contr|oller") |
|00003060| 69 73 20 6e 6f 74 20 66 | 61 6c 73 65 20 74 68 65 |is not f|alse the|
|00003070| 6e 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |n.set cu|rsor to |
|00003080| 77 61 74 63 68 0d 6c 6f | 63 6b 20 73 63 72 65 65 |watch.lo|ck scree|
|00003090| 6e 0d 4f 6b 44 6f 4d 65 | 6e 75 0d 73 68 6f 77 20 |n.OkDoMe|nu.show |
|000030a0| 63 64 20 66 6c 64 20 22 | 56 69 64 65 6f 20 43 6f |cd fld "|Video Co|
|000030b0| 6e 74 72 6f 6c 6c 65 72 | 22 0d 73 65 6c 65 63 74 |ntroller|".select|
|000030c0| 20 63 64 20 66 6c 64 20 | 22 56 69 64 65 6f 20 43 | cd fld |"Video C|
|000030d0| 6f 6e 74 72 6f 6c 6c 65 | 72 22 0d 64 6f 4d 65 6e |ontrolle|r".doMen|
|000030e0| 75 20 22 43 6c 65 61 72 | 20 46 69 65 6c 64 22 0d |u "Clear| Field".|
|000030f0| 63 68 6f 6f 73 65 20 62 | 72 6f 77 73 65 20 74 6f |choose b|rowse to|
|00003100| 6f 6c 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |ol.unloc|k screen|
|00003110| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 65 |.end if.|end if.e|
|00003120| 6e 64 20 64 65 6c 65 74 | 65 56 69 64 65 6f 43 6f |nd delet|eVideoCo|
|00003130| 6e 74 72 6f 6c 6c 65 72 | 0d 0d 6f 6e 20 76 69 64 |ntroller|..on vid|
|00003140| 65 6f 43 6c 6f 73 65 43 | 61 72 64 0d 69 66 20 74 |eoCloseC|ard.if t|
|00003150| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 64 20 |he numbe|r of cd |
|00003160| 66 6c 64 73 20 3e 20 30 | 20 74 68 65 6e 0d 69 66 |flds > 0| then.if|
|00003170| 20 66 69 6e 64 46 69 65 | 6c 64 28 22 56 69 64 65 | findFie|ld("Vide|
|00003180| 6f 20 43 6f 6e 74 72 6f | 6c 6c 65 72 22 29 20 69 |o Contro|ller") i|
|00003190| 73 20 6e 6f 74 20 66 61 | 6c 73 65 20 74 68 65 6e |s not fa|lse then|
|000031a0| 0d 64 65 6c 65 74 65 56 | 69 64 65 6f 43 6f 6e 74 |.deleteV|ideoCont|
|000031b0| 72 6f 6c 6c 65 72 0d 65 | 6e 64 20 69 66 0d 65 6e |roller.e|nd if.en|
|000031c0| 64 20 69 66 0d 73 65 6e | 64 20 22 74 75 72 6e 56 |d if.sen|d "turnV|
|000031d0| 69 64 65 6f 4f 66 66 22 | 20 74 6f 20 63 64 20 22 |ideoOff"| to cd "|
|000031e0| 56 69 64 65 6f 4c 69 73 | 74 22 0d 65 6e 64 20 76 |VideoLis|t".end v|
|000031f0| 69 64 65 6f 43 6c 6f 73 | 65 43 61 72 64 0d 0d 6f |ideoClos|eCard..o|
|00003200| 6e 20 73 65 74 4e 6f 56 | 69 64 65 6f 0d 67 6c 6f |n setNoV|ideo.glo|
|00003210| 62 61 6c 20 67 44 69 73 | 63 53 69 64 65 0d 70 75 |bal gDis|cSide.pu|
|00003220| 74 20 22 6e 6f 6e 65 22 | 20 69 6e 74 6f 20 67 44 |t "none"| into gD|
|00003230| 69 73 63 53 69 64 65 0d | 65 6e 64 20 73 65 74 4e |iscSide.|end setN|
|00003240| 6f 76 69 64 65 6f 0d 0d | 2d 2d 2d 2d 2d 2d 2d 2d |ovideo..|--------|
|00003250| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003260| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003270| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003280| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003290| 0d 2d 2d 20 45 6e 64 20 | 6f 66 20 56 69 64 65 6f |.-- End |of Video|
|000032a0| 20 53 63 72 69 70 74 20 | 76 65 72 73 69 6f 6e 20 | Script |version |
|000032b0| 38 0d 0d 6f 6e 20 67 6f | 55 70 0d 67 6f 55 70 54 |8..on go|Up.goUpT|
|000032c0| 6f 20 22 6d 61 69 6e 20 | 6d 65 6e 75 22 0d 65 6e |o "main |menu".en|
|000032d0| 64 20 67 6f 55 70 0d 0d | 2d 2d 2d 20 73 74 61 72 |d goUp..|--- star|
|000032e0| 74 20 6f 66 20 76 69 64 | 65 6f 20 62 75 74 74 6f |t of vid|eo butto|
|000032f0| 6e 20 73 63 72 69 70 74 | 73 0d 6f 6e 20 76 69 64 |n script|s.on vid|
|00003300| 65 6f 42 75 74 74 6f 6e | 0d 69 66 20 74 68 65 20 |eoButton|.if the |
|00003310| 6c 6f 63 6b 73 63 72 65 | 65 6e 20 69 73 20 74 72 |lockscre|en is tr|
|00003320| 75 65 20 74 68 65 6e 20 | 65 78 69 74 20 76 69 64 |ue then |exit vid|
|00003330| 65 6f 62 75 74 74 6f 6e | 0d 66 6c 61 73 68 42 74 |eobutton|.flashBt|
|00003340| 6e 20 76 69 64 65 6f 62 | 67 2c 20 32 0d 72 65 70 |n videob|g, 2.rep|
|00003350| 65 61 74 20 77 69 74 68 | 20 78 20 3d 20 31 20 74 |eat with| x = 1 t|
|00003360| 6f 20 33 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |o 3.repe|at with |
|00003370| 63 74 72 20 3d 20 31 20 | 74 6f 20 33 0d 69 66 20 |ctr = 1 |to 3.if |
|00003380| 74 68 65 20 6d 6f 75 73 | 65 43 6c 69 63 6b 20 74 |the mous|eClick t|
|00003390| 68 65 6e 0d 73 65 74 20 | 74 68 65 20 69 63 6f 6e |hen.set |the icon|
|000033a0| 20 6f 66 20 62 74 6e 20 | 22 76 69 64 65 6f 22 20 | of btn |"video" |
|000033b0| 74 6f 20 22 67 75 79 20 | 31 22 0d 63 6c 69 63 6b |to "guy |1".click|
|000033c0| 20 61 74 20 74 68 65 20 | 63 6c 69 63 6b 6c 6f 63 | at the |clickloc|
|000033d0| 0d 65 78 69 74 20 76 69 | 64 65 6f 42 75 74 74 6f |.exit vi|deoButto|
|000033e0| 6e 0d 65 6e 64 20 69 66 | 0d 73 65 74 20 74 68 65 |n.end if|.set the|
|000033f0| 20 69 63 6f 6e 20 6f 66 | 20 62 74 6e 20 22 76 69 | icon of| btn "vi|
|00003400| 64 65 6f 22 20 74 6f 20 | 22 67 75 79 22 20 26 26 |deo" to |"guy" &&|
|00003410| 20 63 74 72 0d 77 61 69 | 74 20 31 30 0d 65 6e 64 | ctr.wai|t 10.end|
|00003420| 20 72 65 70 65 61 74 0d | 65 6e 64 20 72 65 70 65 | repeat.|end repe|
|00003430| 61 74 0d 73 65 74 20 74 | 68 65 20 69 63 6f 6e 20 |at.set t|he icon |
|00003440| 6f 66 20 62 74 6e 20 22 | 76 69 64 65 6f 22 20 74 |of btn "|video" t|
|00003450| 6f 20 22 67 75 79 20 31 | 22 0d 65 6e 64 20 76 69 |o "guy 1|".end vi|
|00003460| 64 65 6f 42 75 74 74 6f | 6e 0d 0d 2d 2d 2d 2d 2d |deoButto|n..-----|
|00003470| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003480| 2d 2d 2d 2d 2d 2d 2d 2d | 20 20 53 54 55 44 45 4e |--------| STUDEN|
|00003490| 54 20 4f 50 54 49 4f 4e | 53 20 66 6f 6c 6c 6f 77 |T OPTION|S follow|
|000034a0| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 7c 2d 2d 20 | -------|---.|-- |
|000034b0| 74 68 65 20 6f 70 74 69 | 6f 6e 73 20 62 75 74 74 |the opti|ons butt|
|000034c0| 6f 6e 20 63 61 6c 6c 73 | 20 75 70 20 61 20 70 61 |on calls| up a pa|
|000034d0| 6e 65 6c 20 6f 66 20 73 | 65 72 76 69 63 65 73 0d |nel of s|ervices.|
|000034e0| 6f 6e 20 6e 65 77 4f 70 | 74 69 6f 6e 73 0d 4f 70 |on newOp|tions.Op|
|000034f0| 74 69 6f 6e 73 0d 65 6e | 64 20 6e 65 77 4f 70 74 |tions.en|d newOpt|
|00003500| 69 6f 6e 73 0d 6f 6e 20 | 4f 70 74 69 6f 6e 73 0d |ions.on |Options.|
|00003510| 67 65 74 20 53 53 50 61 | 6e 65 6c 28 29 0d 69 66 |get SSPa|nel().if|
|00003520| 20 69 74 20 69 73 20 6e | 6f 74 20 22 63 61 6e 63 | it is n|ot "canc|
|00003530| 65 6c 22 20 74 68 65 6e | 20 64 6f 20 69 74 0d 65 |el" then| do it.e|
|00003540| 6e 64 20 4f 70 74 69 6f | 6e 73 0d 0d 66 75 6e 63 |nd Optio|ns..func|
|00003550| 74 69 6f 6e 20 53 53 70 | 61 6e 65 6c 0d 73 65 74 |tion SSp|anel.set|
|00003560| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|00003570| 0d 73 65 74 57 69 6e 64 | 6f 77 20 31 0d 4e 65 77 |.setWind|ow 1.New|
|00003580| 57 69 6e 64 6f 77 20 32 | 31 37 2c 32 34 38 2c 63 |Window 2|17,248,c|
|00003590| 65 6e 74 65 72 65 64 2c | 30 2c 32 2c 22 53 53 20 |entered,|0,2,"SS |
|000035a0| 44 69 61 6c 6f 67 22 2c | 76 69 73 69 62 6c 65 0d |Dialog",|visible.|
|000035b0| 4e 65 77 49 74 65 6d 20 | 70 69 63 74 75 72 65 2c |NewItem |picture,|
|000035c0| 30 2c 30 2c 32 31 37 2c | 32 34 38 2c 33 32 35 20 |0,0,217,|248,325 |
|000035d0| 2d 2d 20 69 74 65 6d 20 | 31 0d 4e 65 77 49 74 65 |-- item |1.NewIte|
|000035e0| 6d 20 52 65 63 74 42 75 | 74 74 6f 6e 2c 32 30 2c |m RectBu|tton,20,|
|000035f0| 38 33 2c 37 32 2c 31 33 | 33 2c 41 63 74 69 76 65 |83,72,13|3,Active|
|00003600| 2c c2 0d 2d 31 2c 22 69 | 6e 76 65 72 74 22 2c 22 |,..-1,"i|nvert","|
|00003610| 42 6f 6f 6b 6d 61 72 6b | 22 2c 6e 6f 43 6f 6c 6f |Bookmark|",noColo|
|00003620| 72 2c 22 22 2c 22 22 20 | 2d 2d 20 42 6f 6f 6b 6d |r,"","" |-- Bookm|
|00003630| 61 72 6b 2c 20 69 74 65 | 6d 20 32 0d 4e 65 77 49 |ark, ite|m 2.NewI|
|00003640| 74 65 6d 20 52 65 63 74 | 42 75 74 74 6f 6e 2c 38 |tem Rect|Button,8|
|00003650| 32 2c 38 33 2c 31 33 34 | 2c 31 33 33 2c 41 63 74 |2,83,134|,133,Act|
|00003660| 69 76 65 2c c2 0d 2d 31 | 2c 22 69 6e 76 65 72 74 |ive,..-1|,"invert|
|00003670| 22 2c 22 4e 6f 74 65 62 | 6f 6f 6b 22 2c 6e 6f 43 |","Noteb|ook",noC|
|00003680| 6f 6c 6f 72 2c 22 22 2c | 22 22 20 2d 2d 20 4e 6f |olor,"",|"" -- No|
|00003690| 74 65 2c 20 69 74 65 6d | 20 33 0d 4e 65 77 49 74 |te, item| 3.NewIt|
|000036a0| 65 6d 20 52 65 63 74 42 | 75 74 74 6f 6e 2c 31 34 |em RectB|utton,14|
|000036b0| 34 2c 38 33 2c 31 39 36 | 2c 31 33 33 2c 41 63 74 |4,83,196|,133,Act|
|000036c0| 69 76 65 2c c2 0d 2d 31 | 2c 22 69 6e 76 65 72 74 |ive,..-1|,"invert|
|000036d0| 22 2c 22 53 6e 61 70 73 | 68 6f 74 22 2c 6e 6f 43 |","Snaps|hot",noC|
|000036e0| 6f 6c 6f 72 2c 22 22 2c | 22 22 20 2d 2d 20 53 6e |olor,"",|"" -- Sn|
|000036f0| 61 70 53 68 6f 74 2c 20 | 20 49 74 65 6d 20 34 0d |apShot, | Item 4.|
|00003700| 4e 65 77 49 74 65 6d 20 | 52 65 63 74 42 75 74 74 |NewItem |RectButt|
|00003710| 6f 6e 2c 32 30 2c 31 34 | 33 2c 37 32 2c 31 39 33 |on,20,14|3,72,193|
|00003720| 2c 41 63 74 69 76 65 2c | c2 0d 2d 31 2c 22 69 6e |,Active,|..-1,"in|
|00003730| 76 65 72 74 22 2c 22 47 | 6c 6f 73 73 61 72 79 22 |vert","G|lossary"|
|00003740| 2c 6e 6f 43 6f 6c 6f 72 | 2c 22 22 2c 22 22 20 2d |,noColor|,"","" -|
|00003750| 2d 20 47 6c 6f 73 73 61 | 72 79 2c 20 49 74 65 6d |- Glossa|ry, Item|
|00003760| 20 35 0d 4e 65 77 49 74 | 65 6d 20 52 65 63 74 42 | 5.NewIt|em RectB|
|00003770| 75 74 74 6f 6e 2c 38 32 | 2c 31 34 33 2c 31 33 34 |utton,82|,143,134|
|00003780| 2c 31 39 33 2c 41 63 74 | 69 76 65 2c c2 0d 2d 31 |,193,Act|ive,..-1|
|00003790| 2c 22 69 6e 76 65 72 74 | 22 2c 22 4d 61 70 22 2c |,"invert|","Map",|
|000037a0| 6e 6f 43 6f 6c 6f 72 2c | 22 22 2c 22 22 20 2d 2d |noColor,|"","" --|
|000037b0| 20 4d 61 70 2c 20 49 74 | 65 6d 20 36 0d 4e 65 77 | Map, It|em 6.New|
|000037c0| 49 74 65 6d 20 52 65 63 | 74 42 75 74 74 6f 6e 2c |Item Rec|tButton,|
|000037d0| 31 34 34 2c 31 34 33 2c | 31 39 36 2c 31 39 33 2c |144,143,|196,193,|
|000037e0| 41 63 74 69 76 65 2c c2 | 0d 2d 31 2c 22 69 6e 76 |Active,.|.-1,"inv|
|000037f0| 65 72 74 22 2c 22 48 65 | 6c 70 22 2c 6e 6f 43 6f |ert","He|lp",noCo|
|00003800| 6c 6f 72 2c 22 22 2c 22 | 22 20 2d 2d 20 48 65 6c |lor,"","|" -- Hel|
|00003810| 70 2c 20 49 74 65 6d 20 | 37 0d 4e 65 77 49 74 65 |p, Item |7.NewIte|
|00003820| 6d 20 52 65 63 74 42 75 | 74 74 6f 6e 2c 31 39 2c |m RectBu|tton,19,|
|00003830| 32 30 34 2c 31 31 30 2c | 32 33 30 2c 41 63 74 69 |204,110,|230,Acti|
|00003840| 76 65 2c c2 0d 2d 31 2c | 22 69 6e 76 65 72 74 22 |ve,..-1,|"invert"|
|00003850| 2c 22 71 75 69 74 4d 46 | 22 2c 6e 6f 43 6f 6c 6f |,"quitMF|",noColo|
|00003860| 72 2c 22 22 2c 22 22 20 | 2d 2d 20 51 75 69 74 2c |r,"","" |-- Quit,|
|00003870| 20 69 74 65 6d 20 38 0d | 4e 65 77 49 74 65 6d 20 | item 8.|NewItem |
|00003880| 52 65 63 74 42 75 74 74 | 6f 6e 2c 31 32 34 2c 32 |RectButt|on,124,2|
|00003890| 30 34 2c 31 39 37 2c 32 | 33 30 2c 41 63 74 69 76 |04,197,2|30,Activ|
|000038a0| 65 2c c2 0d 2d 31 2c 22 | 69 6e 76 65 72 74 22 2c |e,..-1,"|invert",|
|000038b0| 22 63 61 6e 63 65 6c 22 | 2c 6e 6f 63 6f 6c 6f 72 |"cancel"|,nocolor|
|000038c0| 2c 22 22 2c 22 22 20 20 | 2d 2d 20 43 61 6e 63 65 |,"","" |-- Cance|
|000038d0| 6c 2c 20 69 74 65 6d 20 | 39 0d 73 65 74 20 63 75 |l, item |9.set cu|
|000038e0| 72 73 6f 72 20 74 6f 20 | 61 72 72 6f 77 0d 67 65 |rsor to |arrow.ge|
|000038f0| 74 20 20 44 69 73 70 6c | 61 79 20 28 31 35 2c 31 |t Displ|ay (15,1|
|00003900| 20 29 0d 69 66 20 69 74 | 20 3d 20 22 74 69 6d 65 | ).if it| = "time|
|00003910| 6f 75 74 22 20 74 68 65 | 6e 0d 6b 69 6c 6c 57 69 |out" the|n.killWi|
|00003920| 6e 64 6f 77 0d 72 65 74 | 75 72 6e 20 22 22 20 2d |ndow.ret|urn "" -|
|00003930| 2d 20 64 6f 20 6e 6f 74 | 68 69 6e 67 0d 65 6e 64 |- do not|hing.end|
|00003940| 20 69 66 0d 6b 69 6c 6c | 57 69 6e 64 6f 77 20 2d | if.kill|Window -|
|00003950| 2d 20 63 6c 65 61 6e 20 | 75 70 0d 72 65 74 75 72 |- clean |up.retur|
|00003960| 6e 20 69 74 65 6d 20 34 | 20 6f 66 20 69 74 0d 65 |n item 4| of it.e|
|00003970| 6e 64 20 53 53 70 61 6e | 65 6c 0d 0d 2d 2d 20 74 |nd SSpan|el..-- t|
|00003980| 68 69 73 20 68 61 6e 64 | 6c 65 72 20 69 73 20 63 |his hand|ler is c|
|00003990| 61 6c 6c 65 64 20 66 72 | 6f 6d 20 61 6c 6c 20 73 |alled fr|om all s|
|000039a0| 74 61 63 6b 73 0d 6f 6e | 20 42 6f 6f 6b 4d 61 72 |tacks.on| BookMar|
|000039b0| 6b 0d 2d 2d 20 73 74 75 | 66 66 20 66 72 6f 6d 20 |k.-- stu|ff from |
|000039c0| 4d 46 42 20 4d 61 72 6b | 50 6c 61 63 65 0d 67 6c |MFB Mark|Place.gl|
|000039d0| 6f 62 61 6c 20 67 4c 61 | 73 74 50 6c 61 63 65 2c |obal gLa|stPlace,|
|000039e0| 67 50 6c 61 63 65 4e 61 | 6d 65 73 2c 20 67 50 6c |gPlaceNa|mes, gPl|
|000039f0| 61 63 65 73 2c 67 43 75 | 72 4e 6f 64 65 0d 73 65 |aces,gCu|rNode.se|
|00003a00| 74 57 69 6e 64 6f 77 20 | 31 0d 4e 65 77 57 69 6e |tWindow |1.NewWin|
|00003a10| 64 6f 77 20 32 39 30 2c | 32 32 32 2c 63 65 6e 74 |dow 290,|222,cent|
|00003a20| 65 72 65 64 2c 30 2c 31 | 2c 22 42 6f 6f 6b 6d 61 |ered,0,1|,"Bookma|
|00003a30| 72 6b 20 44 69 61 6c 6f | 67 22 2c 76 69 73 69 62 |rk Dialo|g",visib|
|00003a40| 6c 65 0d 70 75 74 20 22 | 53 74 75 64 65 6e 74 20 |le.put "|Student |
|00003a50| 53 65 72 76 69 63 65 73 | 22 20 26 20 72 65 74 75 |Services|" & retu|
|00003a60| 72 6e 20 26 20 22 42 6f | 6f 6b 6d 61 72 6b 22 20 |rn & "Bo|okmark" |
|00003a70| 69 6e 74 6f 20 74 68 65 | 54 65 78 74 0d 4e 65 77 |into the|Text.New|
|00003a80| 49 74 65 6d 20 53 74 61 | 74 69 63 54 65 78 74 2c |Item Sta|ticText,|
|00003a90| 35 39 2c 36 2c 31 39 32 | 2c 34 38 2c 74 68 65 54 |59,6,192|,48,theT|
|00003aa0| 65 78 74 2c 22 42 20 67 | 61 72 61 6d 6f 6e 64 20 |ext,"B g|aramond |
|00003ab0| 62 6f 6c 64 22 2c 32 30 | 2c 70 6c 61 69 6e 0d 2d |bold",20|,plain.-|
|00003ac0| 2d 20 69 74 65 6d 20 31 | 0d 4e 65 77 49 74 65 6d |- item 1|.NewItem|
|00003ad0| 20 52 65 63 74 42 75 74 | 74 6f 6e 2c 31 37 2c 38 | RectBut|ton,17,8|
|00003ae0| 2c 36 31 2c 34 35 2c c2 | 0d 22 4e 6f 74 41 63 74 |,61,45,.|."NotAct|
|00003af0| 69 76 65 22 2c 31 37 34 | 32 2c 22 64 6f 6e 74 69 |ive",174|2,"donti|
|00003b00| 6e 76 65 72 74 22 2c 65 | 6d 70 74 79 2c 6e 6f 43 |nvert",e|mpty,noC|
|00003b10| 6f 6c 6f 72 2c 22 22 2c | 22 22 0d 2d 2d 20 20 62 |olor,"",|"".-- b|
|00003b20| 6f 6f 6b 6d 61 72 6b 20 | 67 72 61 70 68 69 63 20 |ookmark |graphic |
|00003b30| 69 74 65 6d 20 32 0d 4e | 65 77 49 74 65 6d 20 52 |item 2.N|ewItem R|
|00003b40| 65 63 74 61 6e 67 6c 65 | 2c 30 2c 35 33 2c 32 39 |ectangle|,0,53,29|
|00003b50| 30 2c 35 34 2c 31 20 2d | 2d 20 69 74 65 6d 20 33 |0,54,1 -|- item 3|
|00003b60| 2c 20 64 65 63 6f 72 61 | 74 69 76 65 20 72 75 6c |, decora|tive rul|
|00003b70| 65 0d 4e 65 77 49 74 65 | 6d 20 53 74 61 74 69 63 |e.NewIte|m Static|
|00003b80| 54 65 78 74 2c 32 34 2c | 36 30 2c 31 35 37 2c 37 |Text,24,|60,157,7|
|00003b90| 39 2c c2 0d 22 42 6f 6f | 6b 6d 61 72 6b 20 69 6e |9,.."Boo|kmark in|
|00003ba0| 3a 22 2c 47 61 72 61 6d | 6f 6e 64 2c 31 36 2c 70 |:",Garam|ond,16,p|
|00003bb0| 6c 61 69 6e 20 2d 2d 20 | 69 74 65 6d 20 34 0d 4e |lain -- |item 4.N|
|00003bc0| 65 77 49 74 65 6d 20 53 | 74 61 74 69 63 54 65 78 |ewItem S|taticTex|
|00003bd0| 74 2c 32 34 2b 33 2c 37 | 39 2c 32 36 30 2c 39 35 |t,24+3,7|9,260,95|
|00003be0| 2c c2 0d 6d 61 6b 65 53 | 74 61 6d 70 28 29 2c 22 |,..makeS|tamp(),"|
|00003bf0| 43 68 69 63 61 67 6f 22 | 2c 31 32 2c 70 6c 61 69 |Chicago"|,12,plai|
|00003c00| 6e 20 2d 2d 20 69 74 65 | 6d 20 35 0d 4e 65 77 49 |n -- ite|m 5.NewI|
|00003c10| 74 65 6d 20 52 65 63 74 | 61 6e 67 6c 65 2c 32 34 |tem Rect|angle,24|
|00003c20| 2c 37 38 2c 32 36 38 2c | 39 37 2c 31 20 2d 2d 49 |,78,268,|97,1 --I|
|00003c30| 74 65 6d 20 36 0d 4e 65 | 77 49 74 65 6d 20 53 74 |tem 6.Ne|wItem St|
|00003c40| 61 74 69 63 54 65 78 74 | 2c 32 34 2c 31 30 33 2c |aticText|,24,103,|
|00003c50| 32 36 38 2c 31 32 33 2c | c2 0d 22 42 6f 6f 6b 6d |268,123,|.."Bookm|
|00003c60| 61 72 6b 20 6e 61 6d 65 | 20 28 6f 70 74 69 6f 6e |ark name| (option|
|00003c70| 61 6c 29 3a 22 2c 47 61 | 72 61 6d 6f 6e 64 2c 31 |al):",Ga|ramond,1|
|00003c80| 36 2c 70 6c 61 69 6e 20 | 2d 2d 20 69 74 65 6d 20 |6,plain |-- item |
|00003c90| 37 0d 4e 65 77 49 74 65 | 6d 20 45 64 69 74 54 65 |7.NewIte|m EditTe|
|00003ca0| 78 74 2c 32 34 2c 31 32 | 30 2c 32 36 38 2c 31 34 |xt,24,12|0,268,14|
|00003cb0| 31 2c c2 0d 65 6d 70 74 | 79 2c 22 43 68 69 63 61 |1,..empt|y,"Chica|
|00003cc0| 67 6f 22 2c 31 32 2c 70 | 6c 61 69 6e 2c 6e 6f 53 |go",12,p|lain,noS|
|00003cd0| 63 72 6f 6c 6c 2c 68 61 | 73 43 75 72 73 6f 72 20 |croll,ha|sCursor |
|00003ce0| 2d 2d 20 69 74 65 6d 20 | 38 0d 4e 65 77 49 74 65 |-- item |8.NewIte|
|00003cf0| 6d 20 52 6f 75 6e 64 42 | 75 74 74 6f 6e 2c 32 34 |m RoundB|utton,24|
|00003d00| 2c 31 36 31 2c 31 34 30 | 2c 31 38 37 2c c2 0d 22 |,161,140|,187,.."|
|00003d10| 43 72 65 61 74 65 20 6d | 61 72 6b 22 2c 31 33 2c |Create m|ark",13,|
|00003d20| 6e 6f 43 6f 6d 6d 61 6e | 64 2c 22 22 20 2d 2d 20 |noComman|d,"" -- |
|00003d30| 69 74 65 6d 20 38 0d 4e | 65 77 49 74 65 6d 20 52 |item 8.N|ewItem R|
|00003d40| 6f 75 6e 64 42 75 74 74 | 6f 6e 2c 31 35 32 2c 31 |oundButt|on,152,1|
|00003d50| 36 34 2c 32 36 38 2c 31 | 38 34 20 2c c2 0d 22 43 |64,268,1|84 ,.."C|
|00003d60| 61 6e 63 65 6c 22 2c 63 | 68 61 72 54 6f 4e 75 6d |ancel",c|harToNum|
|00003d70| 28 22 2e 22 29 2c 43 6f | 6d 6d 61 6e 64 2c 22 22 |("."),Co|mmand,""|
|00003d80| 20 2d 2d 20 69 74 65 6d | 20 31 30 0d 4e 65 77 49 | -- item| 10.NewI|
|00003d90| 74 65 6d 20 52 6f 75 6e | 64 42 75 74 74 6f 6e 2c |tem Roun|dButton,|
|00003da0| 32 34 2c 31 39 36 2c 31 | 34 30 2c 32 31 36 2c c2 |24,196,1|40,216,.|
|00003db0| 0d 22 47 6f 20 74 6f 20 | 6c 61 73 74 20 6d 61 72 |."Go to |last mar|
|00003dc0| 6b 22 2c 31 34 2c 6e 6f | 43 6f 6d 6d 61 6e 64 2c |k",14,no|Command,|
|00003dd0| 22 22 20 2d 2d 20 69 74 | 65 6d 20 31 31 0d 4e 65 |"" -- it|em 11.Ne|
|00003de0| 77 49 74 65 6d 20 52 6f | 75 6e 64 42 75 74 74 6f |wItem Ro|undButto|
|00003df0| 6e 2c 31 35 32 2c 31 39 | 36 2c 32 36 38 2c 32 31 |n,152,19|6,268,21|
|00003e00| 36 2c c2 0d 22 53 65 6c | 65 63 74 20 61 20 6d 61 |6,.."Sel|ect a ma|
|00003e10| 72 6b 22 2c 31 35 2c 6e | 6f 43 6f 6d 6d 61 6e 64 |rk",15,n|oCommand|
|00003e20| 2c 22 22 20 2d 2d 20 69 | 74 65 6d 20 31 32 0d 73 |,"" -- i|tem 12.s|
|00003e30| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 61 72 72 |et curso|r to arr|
|00003e40| 6f 77 0d 67 65 74 20 20 | 44 69 73 70 6c 61 79 20 |ow.get |Display |
|00003e50| 28 31 38 30 2c 31 29 0d | 2d 2d 20 4b 69 6c 6c 20 |(180,1).|-- Kill |
|00003e60| 74 68 65 20 77 69 6e 64 | 6f 77 20 61 66 74 65 72 |the wind|ow after|
|00003e70| 20 61 20 74 69 6d 65 6f | 75 74 0d 69 66 20 69 74 | a timeo|ut.if it|
|00003e80| 20 3d 20 22 74 69 6d 65 | 6f 75 74 22 20 74 68 65 | = "time|out" the|
|00003e90| 6e 0d 2d 2d 20 64 65 6c | 65 74 65 20 6c 61 73 74 |n.-- del|ete last|
|00003ea0| 20 69 74 65 6d 20 6f 66 | 20 77 68 65 72 65 57 65 | item of| whereWe|
|00003eb0| 43 61 6d 65 46 72 6f 6d | 0d 6b 69 6c 6c 57 69 6e |CameFrom|.killWin|
|00003ec0| 64 6f 77 0d 72 65 74 75 | 72 6e 20 22 63 61 6e 63 |dow.retu|rn "canc|
|00003ed0| 65 6c 22 0d 65 6e 64 20 | 69 66 0d 0d 2d 2d 20 69 |el".end |if..-- i|
|00003ee0| 66 20 69 74 20 64 69 64 | 6e 27 74 20 74 69 6d 65 |f it did|n't time|
|00003ef0| 20 6f 75 74 2c 20 73 65 | 65 20 77 68 61 74 20 74 | out, se|e what t|
|00003f00| 68 65 20 75 73 65 72 20 | 63 68 6f 73 65 0d 70 75 |he user |chose.pu|
|00003f10| 74 20 69 74 65 6d 20 34 | 20 6f 66 20 69 74 20 69 |t item 4| of it i|
|00003f20| 6e 74 6f 20 75 73 65 72 | 50 69 63 6b 65 64 0d 69 |nto user|Picked.i|
|00003f30| 66 20 75 73 65 72 50 69 | 63 6b 65 64 20 69 73 20 |f userPi|cked is |
|00003f40| 22 43 72 65 61 74 65 20 | 6d 61 72 6b 22 20 74 68 |"Create |mark" th|
|00003f50| 65 6e 20 2d 2d 20 63 72 | 65 61 74 65 20 61 20 6e |en -- cr|eate a n|
|00003f60| 65 77 20 62 6f 6f 6b 6d | 61 72 6b 0d 70 75 74 20 |ew bookm|ark.put |
|00003f70| 69 74 65 6d 20 32 20 6f | 66 20 20 47 65 74 56 61 |item 2 o|f GetVa|
|00003f80| 6c 75 65 28 22 49 74 65 | 6d 22 2c 35 29 20 69 6e |lue("Ite|m",5) in|
|00003f90| 74 6f 20 70 6c 61 63 65 | 6e 61 6d 65 2d 2d 20 74 |to place|name-- t|
|00003fa0| 68 65 20 62 6f 6f 6b 6d | 61 72 6b 20 73 74 61 6d |he bookm|ark stam|
|00003fb0| 70 0d 67 65 74 20 69 74 | 65 6d 20 32 20 6f 66 20 |p.get it|em 2 of |
|00003fc0| 67 65 74 56 61 6c 75 65 | 28 22 49 74 65 6d 22 2c |getValue|("Item",|
|00003fd0| 38 29 20 2d 2d 20 74 68 | 65 20 6f 70 74 69 6f 6e |8) -- th|e option|
|00003fe0| 61 6c 20 74 69 74 6c 65 | 0d 69 66 20 69 74 20 69 |al title|.if it i|
|00003ff0| 73 20 6e 6f 74 20 22 22 | 20 74 68 65 6e 20 70 75 |s not ""| then pu|
|00004000| 74 20 22 20 a5 20 22 20 | 26 20 69 74 20 61 66 74 |t " . " |& it aft|
|00004010| 65 72 20 70 6c 61 63 65 | 4e 61 6d 65 0d 69 66 20 |er place|Name.if |
|00004020| 70 6c 61 63 65 4e 61 6d | 65 20 69 73 20 6e 6f 74 |placeNam|e is not|
|00004030| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 70 75 74 20 | empty t|hen.put |
|00004040| 70 6c 61 63 65 4e 61 6d | 65 20 26 20 72 65 74 75 |placeNam|e & retu|
|00004050| 72 6e 20 62 65 66 6f 72 | 65 20 67 50 6c 61 63 65 |rn befor|e gPlace|
|00004060| 4e 61 6d 65 73 0d 70 75 | 74 20 67 65 74 43 61 72 |Names.pu|t getCar|
|00004070| 64 4e 61 6d 65 28 29 20 | 69 6e 74 6f 20 67 4c 61 |dName() |into gLa|
|00004080| 73 74 50 6c 61 63 65 0d | 70 75 74 20 67 4c 61 73 |stPlace.|put gLas|
|00004090| 74 50 6c 61 63 65 20 26 | 20 22 2c 22 20 26 20 67 |tPlace &| "," & g|
|000040a0| 43 75 72 4e 6f 64 65 20 | 26 20 72 65 74 75 72 6e |CurNode |& return|
|000040b0| 20 62 65 66 6f 72 65 20 | 67 50 6c 61 63 65 73 0d | before |gPlaces.|
|000040c0| 65 6e 64 20 69 66 0d 6b | 69 6c 6c 57 69 6e 64 6f |end if.k|illWindo|
|000040d0| 77 0d 65 6c 73 65 20 69 | 66 20 75 73 65 72 50 69 |w.else i|f userPi|
|000040e0| 63 6b 65 64 20 69 73 20 | 22 47 6f 20 74 6f 20 6c |cked is |"Go to l|
|000040f0| 61 73 74 20 6d 61 72 6b | 22 20 74 68 65 6e 20 2d |ast mark|" then -|
|00004100| 2d 20 67 6f 20 74 6f 20 | 6c 61 73 74 20 6d 61 72 |- go to |last mar|
|00004110| 6b 0d 6b 69 6c 6c 57 69 | 6e 64 6f 77 0d 4c 61 73 |k.killWi|ndow.Las|
|00004120| 74 50 6c 61 63 65 0d 65 | 6c 73 65 20 69 66 20 75 |tPlace.e|lse if u|
|00004130| 73 65 72 50 69 63 6b 65 | 64 20 69 73 20 22 53 65 |serPicke|d is "Se|
|00004140| 6c 65 63 74 20 61 20 6d | 61 72 6b 22 20 74 68 65 |lect a m|ark" the|
|00004150| 6e 20 2d 2d 20 73 65 6c | 65 63 74 20 6d 61 72 6b |n -- sel|ect mark|
|00004160| 20 66 72 6d 20 62 6f 6f | 6b 6d 61 72 6b 0d 6b 69 | frm boo|kmark.ki|
|00004170| 6c 6c 57 69 6e 64 6f 77 | 0d 67 6f 42 6f 6f 6b 4d |llWindow|.goBookM|
|00004180| 61 72 6b 0d 65 6c 73 65 | 20 2d 2d 20 6d 75 73 74 |ark.else| -- must|
|00004190| 20 62 65 20 43 61 6e 63 | 65 6c 0d 6b 69 6c 6c 57 | be Canc|el.killW|
|000041a0| 69 6e 64 6f 77 0d 65 6e | 64 20 69 66 0d 65 6e 64 |indow.en|d if.end|
|000041b0| 20 42 6f 6f 6b 4d 61 72 | 6b 0d 0d 6f 6e 20 4c 61 | BookMar|k..on La|
|000041c0| 73 74 50 6c 61 63 65 0d | 67 6c 6f 62 61 6c 20 67 |stPlace.|global g|
|000041d0| 4c 61 73 74 50 6c 61 63 | 65 2c 20 67 43 75 72 4e |LastPlac|e, gCurN|
|000041e0| 6f 64 65 0d 70 75 74 20 | 67 65 74 43 61 72 64 4e |ode.put |getCardN|
|000041f0| 61 6d 65 28 29 20 26 20 | 22 2c 22 20 26 20 67 43 |ame() & |"," & gC|
|00004200| 75 72 4e 6f 64 65 20 69 | 6e 74 6f 20 6c 61 73 74 |urNode i|nto last|
|00004210| 50 6c 61 63 65 0d 67 65 | 74 20 69 74 65 6d 20 31 |Place.ge|t item 1|
|00004220| 20 6f 66 20 67 4c 61 73 | 74 50 6c 61 63 65 0d 69 | of gLas|tPlace.i|
|00004230| 66 20 69 74 20 69 73 20 | 6e 6f 74 20 22 22 20 74 |f it is |not "" t|
|00004240| 68 65 6e 0d 67 6f 20 69 | 74 65 6d 20 31 20 6f 66 |hen.go i|tem 1 of|
|00004250| 20 67 4c 61 73 74 50 6c | 61 63 65 0d 70 75 74 20 | gLastPl|ace.put |
|00004260| 6c 61 73 74 50 6c 61 63 | 65 20 69 6e 74 6f 20 67 |lastPlac|e into g|
|00004270| 4c 61 73 74 50 6c 61 63 | 65 0d 65 6c 73 65 0d 61 |LastPlac|e.else.a|
|00004280| 6e 73 77 65 72 20 22 53 | 6f 72 72 79 2c 20 79 6f |nswer "S|orry, yo|
|00004290| 75 20 68 61 76 65 6e d5 | 74 20 6d 61 64 65 20 61 |u haven.|t made a|
|000042a0| 6e 79 20 42 6f 6f 6b 6d | 61 72 6b 73 2e 22 20 77 |ny Bookm|arks." w|
|000042b0| 69 74 68 20 22 4f 4b 22 | 0d 65 6e 64 20 69 66 0d |ith "OK"|.end if.|
|000042c0| 65 6e 64 20 4c 61 73 74 | 50 6c 61 63 65 0d 0d 6f |end Last|Place..o|
|000042d0| 6e 20 67 6f 42 6f 6f 6b | 4d 61 72 6b 0d 67 6c 6f |n goBook|Mark.glo|
|000042e0| 62 61 6c 20 67 4c 61 73 | 74 50 6c 61 63 65 2c 67 |bal gLas|tPlace,g|
|000042f0| 50 6c 61 63 65 4e 61 6d | 65 73 2c 20 67 50 6c 61 |PlaceNam|es, gPla|
|00004300| 63 65 73 2c 20 67 52 65 | 63 65 6e 74 50 6c 61 63 |ces, gRe|centPlac|
|00004310| 65 2c 67 43 75 72 4e 6f | 64 65 0d 70 75 73 68 20 |e,gCurNo|de.push |
|00004320| 63 61 72 64 0d 70 75 74 | 20 67 65 74 43 61 72 64 |card.put| getCard|
|00004330| 4e 61 6d 65 28 29 20 26 | 20 22 2c 22 20 26 20 67 |Name() &| "," & g|
|00004340| 43 75 72 4e 6f 64 65 20 | 69 6e 74 6f 20 67 52 65 |CurNode |into gRe|
|00004350| 63 65 6e 74 50 6c 61 63 | 65 0d 6c 6f 63 6b 20 73 |centPlac|e.lock s|
|00004360| 63 72 65 65 6e 0d 67 6f | 20 74 6f 20 63 61 72 64 |creen.go| to card|
|00004370| 20 22 42 6f 6f 6b 4d 61 | 72 6b 22 20 6f 66 20 73 | "BookMa|rk" of s|
|00004380| 74 61 63 6b 20 22 4d 46 | 20 42 6f 6f 6b 4d 61 72 |tack "MF| BookMar|
|00004390| 6b 22 0d 70 75 74 20 67 | 50 6c 61 63 65 4e 61 6d |k".put g|PlaceNam|
|000043a0| 65 73 20 69 6e 74 6f 20 | 66 69 65 6c 64 20 22 50 |es into |field "P|
|000043b0| 6c 61 63 65 4c 69 73 74 | 22 0d 75 6e 6c 6f 63 6b |laceList|".unlock|
|000043c0| 20 73 63 72 65 65 6e 20 | 77 69 74 68 20 76 69 73 | screen |with vis|
|000043d0| 75 61 6c 20 65 66 66 65 | 63 74 20 69 72 69 73 20 |ual effe|ct iris |
|000043e0| 6f 70 65 6e 0d 65 6e 64 | 20 67 6f 42 6f 6f 6b 4d |open.end| goBookM|
|000043f0| 61 72 6b 0d 0d 2d 2d 20 | 74 68 69 73 20 68 61 6e |ark..-- |this han|
|00004400| 64 6c 65 72 20 69 73 20 | 63 61 6c 6c 65 64 20 66 |dler is |called f|
|00004410| 72 6f 6d 20 61 6c 6c 20 | 73 74 61 63 6b 73 0d 6f |rom all |stacks.o|
|00004420| 6e 20 4e 6f 74 65 42 6f | 6f 6b 0d 67 6c 6f 62 61 |n NoteBo|ok.globa|
|00004430| 6c 20 67 53 74 75 64 65 | 6e 74 4e 61 6d 65 0d 73 |l gStude|ntName.s|
|00004440| 65 74 57 69 6e 64 6f 77 | 20 31 0d 4e 65 77 57 69 |etWindow| 1.NewWi|
|00004450| 6e 64 6f 77 20 32 39 30 | 2c 32 39 30 2c 63 65 6e |ndow 290|,290,cen|
|00004460| 74 65 72 65 64 2c 30 2c | 31 2c 22 4e 6f 74 65 22 |tered,0,|1,"Note"|
|00004470| 2c 76 69 73 69 62 6c 65 | 0d 70 75 74 20 22 53 74 |,visible|.put "St|
|00004480| 75 64 65 6e 74 20 53 65 | 72 76 69 63 65 73 22 20 |udent Se|rvices" |
|00004490| 26 20 72 65 74 75 72 6e | 20 26 20 22 4e 6f 74 65 |& return| & "Note|
|000044a0| 22 20 69 6e 74 6f 20 74 | 68 65 54 65 78 74 0d 4e |" into t|heText.N|
|000044b0| 65 77 49 74 65 6d 20 53 | 74 61 74 69 63 54 65 78 |ewItem S|taticTex|
|000044c0| 74 2c 35 39 2c 36 2c 31 | 39 32 2c 34 38 2c 74 68 |t,59,6,1|92,48,th|
|000044d0| 65 54 65 78 74 2c 22 42 | 20 67 61 72 61 6d 6f 6e |eText,"B| garamon|
|000044e0| 64 20 62 6f 6c 64 22 2c | 32 30 2c 70 6c 61 69 6e |d bold",|20,plain|
|000044f0| 0d 2d 2d 20 69 74 65 6d | 20 31 0d 4e 65 77 49 74 |.-- item| 1.NewIt|
|00004500| 65 6d 20 52 65 63 74 42 | 75 74 74 6f 6e 2c 31 37 |em RectB|utton,17|
|00004510| 2c 38 2c 36 31 2c 34 35 | 2c 4e 6f 74 41 63 74 69 |,8,61,45|,NotActi|
|00004520| 76 65 2c c2 0d 31 37 35 | 32 36 2c 22 64 6f 6e 74 |ve,..175|26,"dont|
|00004530| 69 6e 76 65 72 74 22 2c | 65 6d 70 74 79 2c 6e 6f |invert",|empty,no|
|00004540| 43 6f 6c 6f 72 2c 22 22 | 2c 22 22 20 2d 2d 20 4e |Color,""|,"" -- N|
|00004550| 6f 74 65 20 69 63 6f 6e | 2c 20 20 49 74 65 6d 20 |ote icon|, Item |
|00004560| 32 0d 4e 65 77 49 74 65 | 6d 20 52 65 63 74 61 6e |2.NewIte|m Rectan|
|00004570| 67 6c 65 2c 30 2c 35 33 | 2c 32 39 30 2c 35 34 2c |gle,0,53|,290,54,|
|00004580| 31 20 2d 2d 20 69 74 65 | 6d 20 33 2c 20 64 65 63 |1 -- ite|m 3, dec|
|00004590| 6f 72 61 74 69 76 65 20 | 72 75 6c 65 0d 4e 65 77 |orative |rule.New|
|000045a0| 49 74 65 6d 20 53 74 61 | 74 69 63 54 65 78 74 2c |Item Sta|ticText,|
|000045b0| 32 34 2c 36 30 2c 31 35 | 37 2c 37 39 2c c2 0d 22 |24,60,15|7,79,.."|
|000045c0| 4e 6f 74 65 20 69 6e 3a | 22 2c 47 61 72 61 6d 6f |Note in:|",Garamo|
|000045d0| 6e 64 2c 31 36 2c 70 6c | 61 69 6e 20 2d 2d 20 69 |nd,16,pl|ain -- i|
|000045e0| 74 65 6d 20 34 0d 4e 65 | 77 49 74 65 6d 20 53 74 |tem 4.Ne|wItem St|
|000045f0| 61 74 69 63 54 65 78 74 | 2c 32 34 2b 33 2c 37 39 |aticText|,24+3,79|
|00004600| 2c 32 36 30 2c 39 35 2c | c2 0d 6d 61 6b 65 53 74 |,260,95,|..makeSt|
|00004610| 61 6d 70 28 29 2c 22 43 | 68 69 63 61 67 6f 22 2c |amp(),"C|hicago",|
|00004620| 31 32 2c 70 6c 61 69 6e | 20 2d 2d 20 69 74 65 6d |12,plain| -- item|
|00004630| 20 35 0d 4e 65 77 49 74 | 65 6d 20 52 65 63 74 61 | 5.NewIt|em Recta|
|00004640| 6e 67 6c 65 2c 32 34 2c | 37 38 2c 32 36 38 2c 39 |ngle,24,|78,268,9|
|00004650| 37 2c 31 20 2d 2d 49 74 | 65 6d 20 36 0d 4e 65 77 |7,1 --It|em 6.New|
|00004660| 49 74 65 6d 20 53 74 61 | 74 69 63 54 65 78 74 2c |Item Sta|ticText,|
|00004670| 32 34 2c 31 30 33 2c 32 | 36 38 2c 31 32 33 2c c2 |24,103,2|68,123,.|
|00004680| 0d 22 54 79 70 65 20 6e | 6f 74 65 20 68 65 72 65 |."Type n|ote here|
|00004690| 3a 22 2c 47 61 72 61 6d | 6f 6e 64 2c 31 36 2c 70 |:",Garam|ond,16,p|
|000046a0| 6c 61 69 6e 20 2d 2d 20 | 49 74 65 6d 20 37 0d 4e |lain -- |Item 7.N|
|000046b0| 65 77 49 74 65 6d 20 45 | 64 69 74 54 65 78 74 2c |ewItem E|ditText,|
|000046c0| 32 34 2c 31 32 30 2c 32 | 36 39 2c 32 32 30 2c c2 |24,120,2|69,220,.|
|000046d0| 0d 22 22 2c 47 65 6e 65 | 76 61 2c 31 32 2c 70 6c |."",Gene|va,12,pl|
|000046e0| 61 69 6e 2c 68 61 73 53 | 63 72 6f 6c 6c 2c 68 61 |ain,hasS|croll,ha|
|000046f0| 73 43 75 72 73 6f 72 20 | 2d 2d 20 49 74 65 6d 20 |sCursor |-- Item |
|00004700| 38 0d 4e 65 77 49 74 65 | 6d 20 52 6f 75 6e 64 42 |8.NewIte|m RoundB|
|00004710| 75 74 74 6f 6e 2c 32 34 | 2c 32 32 39 2c 31 34 30 |utton,24|,229,140|
|00004720| 2c 32 35 35 2c c2 0d 22 | 53 61 76 65 20 6e 6f 74 |,255,.."|Save not|
|00004730| 65 22 2c 31 33 2c 6e 6f | 43 6f 6d 6d 61 6e 64 2c |e",13,no|Command,|
|00004740| 22 22 20 2d 2d 20 69 74 | 65 6d 20 39 0d 4e 65 77 |"" -- it|em 9.New|
|00004750| 49 74 65 6d 20 52 6f 75 | 6e 64 42 75 74 74 6f 6e |Item Rou|ndButton|
|00004760| 2c 31 35 32 2c 32 33 32 | 2c 32 36 38 2c 32 35 32 |,152,232|,268,252|
|00004770| 20 2c c2 0d 22 54 65 6c | 6c 20 41 70 70 6c 65 22 | ,.."Tel|l Apple"|
|00004780| 2c 31 30 2c 6e 6f 43 6f | 6d 6d 61 6e 64 2c 22 22 |,10,noCo|mmand,""|
|00004790| 20 2d 2d 20 69 74 65 6d | 20 31 30 0d 4e 65 77 49 | -- item| 10.NewI|
|000047a0| 74 65 6d 20 52 6f 75 6e | 64 42 75 74 74 6f 6e 2c |tem Roun|dButton,|
|000047b0| 32 34 2c 32 36 34 2c 31 | 34 30 2c 32 38 34 2c c2 |24,264,1|40,284,.|
|000047c0| 0d 22 47 6f 20 74 6f 20 | 4e 6f 74 65 62 6f 6f 6b |."Go to |Notebook|
|000047d0| 22 2c 31 31 2c 6e 6f 43 | 6f 6d 6d 61 6e 64 2c 22 |",11,noC|ommand,"|
|000047e0| 22 20 2d 2d 20 69 74 65 | 6d 20 31 31 0d 4e 65 77 |" -- ite|m 11.New|
|000047f0| 49 74 65 6d 20 52 6f 75 | 6e 64 42 75 74 74 6f 6e |Item Rou|ndButton|
|00004800| 2c 31 35 32 2c 32 36 34 | 2c 32 36 38 2c 32 38 34 |,152,264|,268,284|
|00004810| 20 2c c2 0d 22 43 61 6e | 63 65 6c 22 2c 63 68 61 | ,.."Can|cel",cha|
|00004820| 72 54 6f 4e 75 6d 28 22 | 2e 22 29 2c 43 6f 6d 6d |rToNum("|."),Comm|
|00004830| 61 6e 64 2c 22 22 20 2d | 2d 20 69 74 65 6d 20 31 |and,"" -|- item 1|
|00004840| 32 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |2.set cu|rsor to |
|00004850| 61 72 72 6f 77 0d 67 65 | 74 20 20 44 69 73 70 6c |arrow.ge|t Displ|
|00004860| 61 79 20 28 33 36 30 30 | 2c 31 29 0d 0d 2d 2d 20 |ay (3600|,1)..-- |
|00004870| 4b 69 6c 6c 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |Kill the| window |
|00004880| 61 66 74 65 72 20 61 20 | 74 69 6d 65 6f 75 74 0d |after a |timeout.|
|00004890| 69 66 20 69 74 20 3d 20 | 22 74 69 6d 65 6f 75 74 |if it = |"timeout|
|000048a0| 22 20 74 68 65 6e 0d 2d | 2d 20 64 65 6c 65 74 65 |" then.-|- delete|
|000048b0| 20 6c 61 73 74 20 69 74 | 65 6d 20 6f 66 20 77 68 | last it|em of wh|
|000048c0| 65 72 65 57 65 43 61 6d | 65 46 72 6f 6d 0d 6b 69 |ereWeCam|eFrom.ki|
|000048d0| 6c 6c 57 69 6e 64 6f 77 | 0d 72 65 74 75 72 6e 20 |llWindow|.return |
|000048e0| 22 63 61 6e 63 65 6c 22 | 0d 65 6e 64 20 69 66 0d |"cancel"|.end if.|
|000048f0| 0d 2d 2d 20 69 66 20 69 | 74 20 64 69 64 6e 27 74 |.-- if i|t didn't|
|00004900| 20 74 69 6d 65 20 6f 75 | 74 2c 20 73 65 65 20 77 | time ou|t, see w|
|00004910| 68 61 74 20 74 68 65 20 | 75 73 65 72 20 63 68 6f |hat the |user cho|
|00004920| 73 65 0d 70 75 74 20 69 | 74 65 6d 20 34 20 6f 66 |se.put i|tem 4 of|
|00004930| 20 69 74 20 69 6e 74 6f | 20 75 73 65 72 50 69 63 | it into| userPic|
|00004940| 6b 65 64 0d 69 66 20 75 | 73 65 72 50 69 63 6b 65 |ked.if u|serPicke|
|00004950| 64 20 69 73 20 22 53 61 | 76 65 20 6e 6f 74 65 22 |d is "Sa|ve note"|
|00004960| 20 74 68 65 6e 20 2d 2d | 20 63 72 65 61 74 65 20 | then --| create |
|00004970| 61 20 6e 65 77 20 6e 6f | 74 65 0d 73 65 74 20 63 |a new no|te.set c|
|00004980| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 70 |ursor to| watch.p|
|00004990| 75 74 20 69 74 65 6d 20 | 32 20 6f 66 20 20 47 65 |ut item |2 of Ge|
|000049a0| 74 56 61 6c 75 65 28 22 | 49 74 65 6d 22 2c 35 29 |tValue("|Item",5)|
|000049b0| 20 69 6e 74 6f 20 70 6c | 61 63 65 4e 61 6d 65 0d | into pl|aceName.|
|000049c0| 2d 2d 20 74 68 65 20 6e | 6f 74 65 20 74 69 6d 65 |-- the n|ote time|
|000049d0| 2f 70 6c 61 63 65 20 73 | 74 61 6d 70 0d 70 75 74 |/place s|tamp.put|
|000049e0| 20 47 65 74 56 61 6c 75 | 65 28 22 49 74 65 6d 22 | GetValu|e("Item"|
|000049f0| 2c 38 29 20 69 6e 74 6f | 20 6e 6f 74 65 54 65 78 |,8) into| noteTex|
|00004a00| 74 20 2d 2d 20 74 68 65 | 20 61 63 74 75 61 6c 20 |t -- the| actual |
|00004a10| 74 65 78 74 0d 64 65 6c | 65 74 65 20 69 74 65 6d |text.del|ete item|
|00004a20| 20 31 20 6f 66 20 6e 6f | 74 65 54 65 78 74 20 2d | 1 of no|teText -|
|00004a30| 2d 20 64 6f 20 74 68 69 | 73 20 62 65 63 61 75 73 |- do thi|s becaus|
|00004a40| 65 20 6f 66 20 74 65 78 | 74 20 63 6f 6d 6d 61 73 |e of tex|t commas|
|00004a50| 0d 70 75 74 20 73 74 72 | 69 70 52 65 74 75 72 6e |.put str|ipReturn|
|00004a60| 73 28 6e 6f 74 65 54 65 | 78 74 29 20 69 6e 74 6f |s(noteTe|xt) into|
|00004a70| 20 6e 6f 74 65 74 65 78 | 74 0d 6b 69 6c 6c 57 69 | notetex|t.killWi|
|00004a80| 6e 64 6f 77 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |ndow.set| cursor |
|00004a90| 74 6f 20 77 61 74 63 68 | 0d 69 66 20 67 6f 53 74 |to watch|.if goSt|
|00004aa0| 75 64 65 6e 74 53 74 61 | 63 6b 28 22 61 73 6b 22 |udentSta|ck("ask"|
|00004ab0| 29 20 69 73 20 22 74 72 | 75 65 22 20 74 68 65 6e |) is "tr|ue" then|
|00004ac0| 0d 67 6f 20 63 64 20 22 | 6e 6f 74 65 62 6f 6f 6b |.go cd "|notebook|
|00004ad0| 22 0d 65 6c 73 65 0d 65 | 78 69 74 20 6e 6f 74 65 |".else.e|xit note|
|00004ae0| 62 6f 6f 6b 0d 65 6e 64 | 20 69 66 0d 69 66 20 74 |book.end| if.if t|
|00004af0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 68 61 |he numbe|r of cha|
|00004b00| 72 73 20 69 6e 20 66 6c | 64 20 22 6e 6f 74 65 73 |rs in fl|d "notes|
|00004b10| 22 20 3e 20 32 39 30 30 | 30 20 74 68 65 6e 0d 61 |" > 2900|0 then.a|
|00004b20| 6e 73 77 65 72 20 22 53 | 6f 72 72 79 2c 20 79 6f |nswer "S|orry, yo|
|00004b30| 75 72 20 6e 6f 74 65 62 | 6f 6f 6b 20 69 73 20 74 |ur noteb|ook is t|
|00004b40| 6f 6f 20 66 75 6c 6c 20 | 74 6f 20 73 61 76 65 20 |oo full |to save |
|00004b50| 61 6e 79 20 6d 6f 72 65 | 20 6e 6f 74 65 73 2e 22 |any more| notes."|
|00004b60| 0d 65 6c 73 65 0d 70 75 | 74 20 70 6c 61 63 65 4e |.else.pu|t placeN|
|00004b70| 61 6d 65 20 26 20 72 65 | 74 75 72 6e 20 26 20 6e |ame & re|turn & n|
|00004b80| 6f 74 65 54 65 78 74 20 | 26 20 72 65 74 75 72 6e |oteText |& return|
|00004b90| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|00004ba0| 66 6c 64 20 22 6e 6f 74 | 65 73 22 0d 65 6e 64 20 |fld "not|es".end |
|00004bb0| 69 66 0d 70 6f 70 20 63 | 61 72 64 0d 65 6c 73 65 |if.pop c|ard.else|
|00004bc0| 20 69 66 20 75 73 65 72 | 50 69 63 6b 65 64 20 69 | if user|Picked i|
|00004bd0| 73 20 22 54 65 6c 6c 20 | 41 70 70 6c 65 22 20 74 |s "Tell |Apple" t|
|00004be0| 68 65 6e 0d 2d 2d 20 70 | 75 74 20 74 68 65 20 63 |hen.-- p|ut the c|
|00004bf0| 6f 6d 6d 65 6e 74 20 69 | 6e 74 6f 20 41 70 70 6c |omment i|nto Appl|
|00004c00| 65 20 66 65 65 64 62 61 | 63 6b 20 73 74 61 63 6b |e feedba|ck stack|
|00004c10| 20 28 63 6f 6d 6d 65 6e | 74 73 29 0d 2d 2d 20 61 | (commen|ts).-- a|
|00004c20| 73 20 77 65 6c 6c 20 61 | 73 20 75 73 65 72 20 6e |s well a|s user n|
|00004c30| 6f 74 65 62 6f 6f 6b 0d | 70 75 74 20 69 74 65 6d |otebook.|put item|
|00004c40| 20 32 20 6f 66 20 20 47 | 65 74 56 61 6c 75 65 28 | 2 of G|etValue(|
|00004c50| 22 49 74 65 6d 22 2c 35 | 29 20 69 6e 74 6f 20 70 |"Item",5|) into p|
|00004c60| 6c 61 63 65 4e 61 6d 65 | 0d 2d 2d 20 74 68 65 20 |laceName|.-- the |
|00004c70| 6e 6f 74 65 20 74 69 6d | 65 2f 70 6c 61 63 65 20 |note tim|e/place |
|00004c80| 73 74 61 6d 70 0d 70 75 | 74 20 47 65 74 56 61 6c |stamp.pu|t GetVal|
|00004c90| 75 65 28 22 49 74 65 6d | 22 2c 38 29 20 69 6e 74 |ue("Item|",8) int|
|00004ca0| 6f 20 6e 6f 74 65 54 65 | 78 74 20 2d 2d 20 74 68 |o noteTe|xt -- th|
|00004cb0| 65 20 61 63 74 75 61 6c | 20 74 65 78 74 0d 64 65 |e actual| text.de|
|00004cc0| 6c 65 74 65 20 69 74 65 | 6d 20 31 20 6f 66 20 6e |lete ite|m 1 of n|
|00004cd0| 6f 74 65 54 65 78 74 20 | 2d 2d 20 64 6f 20 74 68 |oteText |-- do th|
|00004ce0| 69 73 20 62 65 63 61 75 | 73 65 20 6f 66 20 74 65 |is becau|se of te|
|00004cf0| 78 74 20 63 6f 6d 6d 61 | 73 0d 70 75 74 20 73 74 |xt comma|s.put st|
|00004d00| 72 69 70 52 65 74 75 72 | 6e 73 28 6e 6f 74 65 54 |ripRetur|ns(noteT|
|00004d10| 65 78 74 29 20 69 6e 74 | 6f 20 6e 6f 74 65 74 65 |ext) int|o notete|
|00004d20| 78 74 0d 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |xt.put t|he short|
|00004d30| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00004d40| 61 63 6b 20 26 26 20 22 | 2a 22 20 26 26 20 74 68 |ack && "|*" && th|
|00004d50| 65 20 69 64 20 6f 66 20 | 74 68 69 73 20 63 64 20 |e id of |this cd |
|00004d60| 69 6e 74 6f 20 63 64 6e | 61 6d 65 0d 6b 69 6c 6c |into cdn|ame.kill|
|00004d70| 57 69 6e 64 6f 77 0d 73 | 65 74 20 63 75 72 73 6f |Window.s|et curso|
|00004d80| 72 20 74 6f 20 77 61 74 | 63 68 0d 62 65 51 75 69 |r to wat|ch.beQui|
|00004d90| 65 74 0d 67 6f 20 63 64 | 20 22 6e 6f 74 65 62 6f |et.go cd| "notebo|
|00004da0| 6f 6b 22 20 6f 66 20 73 | 74 61 63 6b 20 22 4d 46 |ok" of s|tack "MF|
|00004db0| 20 41 70 70 6c 65 20 46 | 65 65 64 62 61 63 6b 22 | Apple F|eedback"|
|00004dc0| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |.if the |result i|
|00004dd0| 73 20 6e 6f 74 20 22 22 | 20 74 68 65 6e 0d 70 75 |s not ""| then.pu|
|00004de0| 74 20 22 53 6f 72 72 79 | 2c 74 68 65 20 41 70 70 |t "Sorry|,the App|
|00004df0| 6c 65 20 46 65 65 64 62 | 61 63 6b 20 73 74 61 63 |le Feedb|ack stac|
|00004e00| 6b 20 69 73 20 6e 6f 74 | 20 61 76 61 69 6c 61 62 |k is not| availab|
|00004e10| 6c 65 20 66 6f 72 20 22 | 26 26 c2 0d 22 74 61 6b |le for "|&&.."tak|
|00004e20| 69 6e 67 20 79 6f 75 72 | 20 63 6f 6d 6d 65 6e 74 |ing your| comment|
|00004e30| 73 2e 22 20 69 6e 74 6f | 20 73 74 72 69 6e 67 0d |s." into| string.|
|00004e40| 61 6e 73 77 65 72 20 73 | 74 72 69 6e 67 20 77 69 |answer s|tring wi|
|00004e50| 74 68 20 22 4f 4b 22 0d | 65 78 69 74 20 6e 6f 74 |th "OK".|exit not|
|00004e60| 65 62 6f 6f 6b 0d 65 6e | 64 20 69 66 0d 69 66 20 |ebook.en|d if.if |
|00004e70| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 68 |the numb|er of ch|
|00004e80| 61 72 73 20 69 6e 20 66 | 6c 64 20 22 6e 6f 74 65 |ars in f|ld "note|
|00004e90| 73 22 20 3e 20 32 39 30 | 30 30 20 74 68 65 6e 0d |s" > 290|00 then.|
|00004ea0| 61 6e 73 77 65 72 20 22 | 53 6f 72 72 79 2c 20 74 |answer "|Sorry, t|
|00004eb0| 68 65 20 41 70 70 6c 65 | 20 46 65 65 64 62 61 63 |he Apple| Feedbac|
|00004ec0| 6b 20 73 74 61 63 6b 20 | 69 73 20 74 6f 6f 20 66 |k stack |is too f|
|00004ed0| 75 6c 6c 20 74 6f 20 73 | 61 76 65 20 61 6e 79 20 |ull to s|ave any |
|00004ee0| 6d 6f 72 65 20 6e 6f 74 | 65 73 2e 22 0d 65 6c 73 |more not|es.".els|
|00004ef0| 65 0d 70 75 74 20 67 53 | 74 75 64 65 6e 74 4e 61 |e.put gS|tudentNa|
|00004f00| 6d 65 20 26 20 72 65 74 | 75 72 6e 20 26 26 20 63 |me & ret|urn && c|
|00004f10| 64 6e 61 6d 65 20 26 26 | 20 72 65 74 75 72 6e 20 |dname &&| return |
|00004f20| 61 66 74 65 72 20 66 6c | 64 20 22 6e 6f 74 65 73 |after fl|d "notes|
|00004f30| 22 0d 70 75 74 20 70 6c | 61 63 65 4e 61 6d 65 20 |".put pl|aceName |
|00004f40| 26 20 72 65 74 75 72 6e | 20 26 20 6e 6f 74 65 54 |& return| & noteT|
|00004f50| 65 78 74 20 26 20 72 65 | 74 75 72 6e 20 26 20 72 |ext & re|turn & r|
|00004f60| 65 74 75 72 6e 20 61 66 | 74 65 72 20 66 6c 64 20 |eturn af|ter fld |
|00004f70| 22 6e 6f 74 65 73 22 0d | 65 6e 64 20 69 66 0d 72 |"notes".|end if.r|
|00004f80| 65 74 75 72 6e 51 75 69 | 65 74 0d 65 6c 73 65 20 |eturnQui|et.else |
|00004f90| 69 66 20 75 73 65 72 50 | 69 63 6b 65 64 20 69 73 |if userP|icked is|
|00004fa0| 20 22 47 6f 20 74 6f 20 | 6e 6f 74 65 62 6f 6f 6b | "Go to |notebook|
|00004fb0| 22 20 74 68 65 6e 20 2d | 2d 20 6f 70 65 6e 20 74 |" then -|- open t|
|00004fc0| 68 65 20 6e 6f 74 65 62 | 6f 6f 6b 0d 73 65 74 20 |he noteb|ook.set |
|00004fd0| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00004fe0| 70 75 74 20 47 65 74 56 | 61 6c 75 65 28 22 49 74 |put GetV|alue("It|
|00004ff0| 65 6d 22 2c 38 29 20 69 | 6e 74 6f 20 6e 6f 74 65 |em",8) i|nto note|
|00005000| 54 65 78 74 20 2d 2d 20 | 74 68 65 20 61 63 74 75 |Text -- |the actu|
|00005010| 61 6c 20 74 65 78 74 0d | 69 66 20 6e 6f 74 65 54 |al text.|if noteT|
|00005020| 65 78 74 20 69 73 20 6e | 6f 74 20 22 22 20 74 68 |ext is n|ot "" th|
|00005030| 65 6e 0d 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |en.put i|tem 2 of|
|00005040| 20 20 47 65 74 56 61 6c | 75 65 28 22 49 74 65 6d | GetVal|ue("Item|
|00005050| 22 2c 35 29 20 69 6e 74 | 6f 20 70 6c 61 63 65 4e |",5) int|o placeN|
|00005060| 61 6d 65 0d 64 65 6c 65 | 74 65 20 69 74 65 6d 20 |ame.dele|te item |
|00005070| 31 20 6f 66 20 6e 6f 74 | 65 54 65 78 74 20 2d 2d |1 of not|eText --|
|00005080| 20 64 6f 20 74 68 69 73 | 20 62 65 63 61 75 73 65 | do this| because|
|00005090| 20 6f 66 20 74 65 78 74 | 20 63 6f 6d 6d 61 73 0d | of text| commas.|
|000050a0| 70 75 74 20 73 74 72 69 | 70 52 65 74 75 72 6e 73 |put stri|pReturns|
|000050b0| 28 6e 6f 74 65 54 65 78 | 74 29 20 69 6e 74 6f 20 |(noteTex|t) into |
|000050c0| 6e 6f 74 65 74 65 78 74 | 0d 65 6e 64 20 69 66 0d |notetext|.end if.|
|000050d0| 6b 69 6c 6c 57 69 6e 64 | 6f 77 0d 69 66 20 67 6f |killWind|ow.if go|
|000050e0| 53 74 75 64 65 6e 74 53 | 74 61 63 6b 28 22 61 73 |StudentS|tack("as|
|000050f0| 6b 22 29 20 69 73 20 66 | 61 6c 73 65 20 74 68 65 |k") is f|alse the|
|00005100| 6e 20 65 78 69 74 20 6e | 6f 74 65 62 6f 6f 6b 0d |n exit n|otebook.|
|00005110| 67 6f 20 63 64 20 22 6e | 6f 74 65 62 6f 6f 6b 22 |go cd "n|otebook"|
|00005120| 0d 69 66 20 6e 6f 74 65 | 54 65 78 74 20 69 73 20 |.if note|Text is |
|00005130| 6e 6f 74 20 22 22 20 74 | 68 65 6e 0d 70 75 74 20 |not "" t|hen.put |
|00005140| 70 6c 61 63 65 4e 61 6d | 65 20 26 20 72 65 74 75 |placeNam|e & retu|
|00005150| 72 6e 20 26 20 6e 6f 74 | 65 54 65 78 74 20 26 20 |rn & not|eText & |
|00005160| 72 65 74 75 72 6e 20 26 | 20 72 65 74 75 72 6e 20 |return &| return |
|00005170| 61 66 74 65 72 20 66 6c | 64 20 22 6e 6f 74 65 73 |after fl|d "notes|
|00005180| 22 0d 65 6e 64 20 69 66 | 0d 75 6e 6c 6f 63 6b 20 |".end if|.unlock |
|00005190| 73 63 72 65 65 6e 20 77 | 69 74 68 20 69 72 69 73 |screen w|ith iris|
|000051a0| 20 6f 70 65 6e 0d 65 6c | 73 65 20 2d 2d 20 6d 75 | open.el|se -- mu|
|000051b0| 73 74 20 62 65 20 43 61 | 6e 63 65 6c 0d 6b 69 6c |st be Ca|ncel.kil|
|000051c0| 6c 57 69 6e 64 6f 77 0d | 65 6e 64 20 69 66 0d 65 |lWindow.|end if.e|
|000051d0| 6e 64 20 4e 6f 74 65 42 | 6f 6f 6b 0d 0d 66 75 6e |nd NoteB|ook..fun|
|000051e0| 63 74 69 6f 6e 20 73 74 | 72 69 70 52 65 74 75 72 |ction st|ripRetur|
|000051f0| 6e 73 20 73 74 72 69 6e | 67 0d 72 65 70 65 61 74 |ns strin|g.repeat|
|00005200| 0d 67 65 74 20 6c 61 73 | 74 20 63 68 61 72 20 6f |.get las|t char o|
|00005210| 66 20 73 74 72 69 6e 67 | 0d 69 66 20 69 74 20 3d |f string|.if it =|
|00005220| 20 72 65 74 75 72 6e 20 | 74 68 65 6e 20 64 65 6c | return |then del|
|00005230| 65 74 65 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |ete last| char of|
|00005240| 20 53 74 72 69 6e 67 0d | 65 6c 73 65 20 65 78 69 | String.|else exi|
|00005250| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 72 65 70 |t repeat|.end rep|
|00005260| 65 61 74 0d 72 65 74 75 | 72 6e 20 73 74 72 69 6e |eat.retu|rn strin|
|00005270| 67 0d 65 6e 64 20 73 74 | 72 69 70 52 65 74 75 72 |g.end st|ripRetur|
|00005280| 6e 73 0d 0d 2d 2d 20 74 | 68 69 73 20 68 61 6e 64 |ns..-- t|his hand|
|00005290| 6c 65 72 20 69 73 20 63 | 61 6c 6c 65 64 20 66 72 |ler is c|alled fr|
|000052a0| 6f 6d 20 61 6c 6c 20 73 | 74 61 63 6b 73 0d 6f 6e |om all s|tacks.on|
|000052b0| 20 53 6e 61 70 73 68 6f | 74 0d 73 65 74 57 69 6e | Snapsho|t.setWin|
|000052c0| 64 6f 77 20 31 0d 4e 65 | 77 57 69 6e 64 6f 77 20 |dow 1.Ne|wWindow |
|000052d0| 32 39 30 2c 32 32 32 2c | 63 65 6e 74 65 72 65 64 |290,222,|centered|
|000052e0| 2c 30 2c 31 2c 22 53 6e | 61 70 73 68 6f 74 20 44 |,0,1,"Sn|apshot D|
|000052f0| 69 61 6c 6f 67 22 2c 76 | 69 73 69 62 6c 65 0d 70 |ialog",v|isible.p|
|00005300| 75 74 20 22 53 74 75 64 | 65 6e 74 20 53 65 72 76 |ut "Stud|ent Serv|
|00005310| 69 63 65 73 22 20 26 20 | 72 65 74 75 72 6e 20 26 |ices" & |return &|
|00005320| 20 22 53 6e 61 70 73 68 | 6f 74 22 20 69 6e 74 6f | "Snapsh|ot" into|
|00005330| 20 74 68 65 54 65 78 74 | 0d 4e 65 77 49 74 65 6d | theText|.NewItem|
|00005340| 20 53 74 61 74 69 63 54 | 65 78 74 2c 35 39 2c 36 | StaticT|ext,59,6|
|00005350| 2c 31 39 32 2c 34 38 2c | 74 68 65 54 65 78 74 2c |,192,48,|theText,|
|00005360| 22 42 20 67 61 72 61 6d | 6f 6e 64 20 62 6f 6c 64 |"B garam|ond bold|
|00005370| 22 2c 32 30 2c 70 6c 61 | 69 6e 0d 2d 2d 20 69 74 |",20,pla|in.-- it|
|00005380| 65 6d 20 31 0d 4e 65 77 | 49 74 65 6d 20 52 65 63 |em 1.New|Item Rec|
|00005390| 74 42 75 74 74 6f 6e 2c | 31 37 2c 38 2c 36 31 2c |tButton,|17,8,61,|
|000053a0| 34 35 2c c2 0d 22 4e 6f | 74 41 63 74 69 76 65 22 |45,.."No|tActive"|
|000053b0| 2c 32 36 34 37 35 2c 22 | 64 6f 6e 74 69 6e 76 65 |,26475,"|dontinve|
|000053c0| 72 74 22 2c 65 6d 70 74 | 79 2c 6e 6f 43 6f 6c 6f |rt",empt|y,noColo|
|000053d0| 72 2c 22 22 2c 22 22 0d | 2d 2d 20 20 62 6f 6f 6b |r,"","".|-- book|
|000053e0| 6d 61 72 6b 20 67 72 61 | 70 68 69 63 20 69 74 65 |mark gra|phic ite|
|000053f0| 6d 20 32 0d 4e 65 77 49 | 74 65 6d 20 52 65 63 74 |m 2.NewI|tem Rect|
|00005400| 61 6e 67 6c 65 2c 30 2c | 35 33 2c 32 39 30 2c 35 |angle,0,|53,290,5|
|00005410| 34 2c 31 20 2d 2d 20 69 | 74 65 6d 20 33 2c 20 64 |4,1 -- i|tem 3, d|
|00005420| 65 63 6f 72 61 74 69 76 | 65 20 72 75 6c 65 0d 4e |ecorativ|e rule.N|
|00005430| 65 77 49 74 65 6d 20 53 | 74 61 74 69 63 54 65 78 |ewItem S|taticTex|
|00005440| 74 2c 32 34 2c 36 30 2c | 31 35 37 2c 37 39 2c c2 |t,24,60,|157,79,.|
|00005450| 0d 22 53 6e 61 70 73 68 | 6f 74 20 69 6e 3a 22 2c |."Snapsh|ot in:",|
|00005460| 47 61 72 61 6d 6f 6e 64 | 2c 31 36 2c 70 6c 61 69 |Garamond|,16,plai|
|00005470| 6e 20 2d 2d 20 69 74 65 | 6d 20 34 0d 4e 65 77 49 |n -- ite|m 4.NewI|
|00005480| 74 65 6d 20 53 74 61 74 | 69 63 54 65 78 74 2c 32 |tem Stat|icText,2|
|00005490| 34 2b 33 2c 37 39 2c 32 | 36 30 2c 39 35 2c c2 0d |4+3,79,2|60,95,..|
|000054a0| 6d 61 6b 65 53 74 61 6d | 70 28 29 2c 22 43 68 69 |makeStam|p(),"Chi|
|000054b0| 63 61 67 6f 22 2c 31 32 | 2c 70 6c 61 69 6e 20 2d |cago",12|,plain -|
|000054c0| 2d 20 69 74 65 6d 20 35 | 0d 4e 65 77 49 74 65 6d |- item 5|.NewItem|
|000054d0| 20 52 65 63 74 61 6e 67 | 6c 65 2c 32 34 2c 37 38 | Rectang|le,24,78|
|000054e0| 2c 32 36 38 2c 39 37 2c | 31 20 2d 2d 49 74 65 6d |,268,97,|1 --Item|
|000054f0| 20 36 0d 4e 65 77 49 74 | 65 6d 20 53 74 61 74 69 | 6.NewIt|em Stati|
|00005500| 63 54 65 78 74 2c 32 34 | 2c 31 30 33 2c 32 36 38 |cText,24|,103,268|
|00005510| 2c 31 32 33 2c c2 0d 22 | 53 6e 61 70 73 68 6f 74 |,123,.."|Snapshot|
|00005520| 20 6e 61 6d 65 20 28 6f | 70 74 69 6f 6e 61 6c 29 | name (o|ptional)|
|00005530| 3a 22 2c 47 61 72 61 6d | 6f 6e 64 2c 31 36 2c 70 |:",Garam|ond,16,p|
|00005540| 6c 61 69 6e 20 2d 2d 20 | 69 74 65 6d 20 37 0d 4e |lain -- |item 7.N|
|00005550| 65 77 49 74 65 6d 20 45 | 64 69 74 54 65 78 74 2c |ewItem E|ditText,|
|00005560| 32 34 2c 31 32 30 2c 32 | 36 38 2c 31 34 31 2c c2 |24,120,2|68,141,.|
|00005570| 0d 65 6d 70 74 79 2c 22 | 43 68 69 63 61 67 6f 22 |.empty,"|Chicago"|
|00005580| 2c 31 32 2c 70 6c 61 69 | 6e 2c 6e 6f 53 63 72 6f |,12,plai|n,noScro|
|00005590| 6c 6c 2c 68 61 73 43 75 | 72 73 6f 72 20 2d 2d 20 |ll,hasCu|rsor -- |
|000055a0| 69 74 65 6d 20 38 0d 4e | 65 77 49 74 65 6d 20 52 |item 8.N|ewItem R|
|000055b0| 6f 75 6e 64 42 75 74 74 | 6f 6e 2c 32 34 2c 31 36 |oundButt|on,24,16|
|000055c0| 31 2c 31 34 30 2c 31 38 | 37 2c c2 0d 22 54 61 6b |1,140,18|7,.."Tak|
|000055d0| 65 20 53 6e 61 70 73 68 | 6f 74 22 2c 31 33 2c 6e |e Snapsh|ot",13,n|
|000055e0| 6f 43 6f 6d 6d 61 6e 64 | 2c 22 22 20 2d 2d 20 69 |oCommand|,"" -- i|
|000055f0| 74 65 6d 20 38 0d 4e 65 | 77 49 74 65 6d 20 52 6f |tem 8.Ne|wItem Ro|
|00005600| 75 6e 64 42 75 74 74 6f | 6e 2c 31 35 32 2c 31 36 |undButto|n,152,16|
|00005610| 34 2c 32 36 38 2c 31 38 | 34 20 2c c2 0d 22 50 72 |4,268,18|4 ,.."Pr|
|00005620| 69 6e 74 20 53 6e 61 70 | 73 68 6f 74 22 2c 31 34 |int Snap|shot",14|
|00005630| 2c 6e 6f 43 6f 6d 6d 61 | 6e 64 2c 22 22 20 2d 2d |,noComma|nd,"" --|
|00005640| 20 69 74 65 6d 20 39 0d | 4e 65 77 49 74 65 6d 20 | item 9.|NewItem |
|00005650| 52 6f 75 6e 64 42 75 74 | 74 6f 6e 2c 32 34 2c 31 |RoundBut|ton,24,1|
|00005660| 39 36 2c 31 34 30 2c 32 | 31 36 2c c2 0d 22 56 69 |96,140,2|16,.."Vi|
|00005670| 65 77 20 53 6e 61 70 73 | 68 6f 74 73 22 2c 31 34 |ew Snaps|hots",14|
|00005680| 2c 6e 6f 43 6f 6d 6d 61 | 6e 64 2c 22 22 20 2d 2d |,noComma|nd,"" --|
|00005690| 20 69 74 65 6d 20 31 30 | 0d 4e 65 77 49 74 65 6d | item 10|.NewItem|
|000056a0| 20 52 6f 75 6e 64 42 75 | 74 74 6f 6e 2c 31 35 32 | RoundBu|tton,152|
|000056b0| 2c 31 39 36 2c 32 36 38 | 2c 32 31 36 2c c2 0d 22 |,196,268|,216,.."|
|000056c0| 43 61 6e 63 65 6c 22 2c | 63 68 61 72 54 6f 4e 75 |Cancel",|charToNu|
|000056d0| 6d 28 22 2e 22 29 2c 43 | 6f 6d 6d 61 6e 64 2c 22 |m("."),C|ommand,"|
|000056e0| 22 20 2d 2d 20 69 74 65 | 6d 20 31 31 0d 0d 73 65 |" -- ite|m 11..se|
|000056f0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 61 72 72 6f |t cursor| to arro|
|00005700| 77 0d 67 65 74 20 20 44 | 69 73 70 6c 61 79 20 28 |w.get D|isplay (|
|00005710| 31 38 30 2c 31 29 0d 0d | 2d 2d 20 4b 69 6c 6c 20 |180,1)..|-- Kill |
|00005720| 74 68 65 20 77 69 6e 64 | 6f 77 20 61 66 74 65 72 |the wind|ow after|
|00005730| 20 61 20 74 69 6d 65 6f | 75 74 0d 69 66 20 69 74 | a timeo|ut.if it|
|00005740| 20 3d 20 22 74 69 6d 65 | 6f 75 74 22 20 74 68 65 | = "time|out" the|
|00005750| 6e 0d 2d 2d 20 64 65 6c | 65 74 65 20 6c 61 73 74 |n.-- del|ete last|
|00005760| 20 69 74 65 6d 20 6f 66 | 20 77 68 65 72 65 57 65 | item of| whereWe|
|00005770| 43 61 6d 65 46 72 6f 6d | 0d 6b 69 6c 6c 57 69 6e |CameFrom|.killWin|
|00005780| 64 6f 77 0d 72 65 74 75 | 72 6e 20 22 63 61 6e 63 |dow.retu|rn "canc|
|00005790| 65 6c 22 0d 65 6e 64 20 | 69 66 0d 0d 2d 2d 20 69 |el".end |if..-- i|
|000057a0| 66 20 69 74 20 64 69 64 | 6e 27 74 20 74 69 6d 65 |f it did|n't time|
|000057b0| 20 6f 75 74 2c 20 73 65 | 65 20 77 68 61 74 20 74 | out, se|e what t|
|000057c0| 68 65 20 75 73 65 72 20 | 63 68 6f 73 65 0d 70 75 |he user |chose.pu|
|000057d0| 74 20 69 74 65 6d 20 34 | 20 6f 66 20 69 74 20 69 |t item 4| of it i|
|000057e0| 6e 74 6f 20 75 73 65 72 | 50 69 63 6b 65 64 0d 69 |nto user|Picked.i|
|000057f0| 66 20 75 73 65 72 50 69 | 63 6b 65 64 20 69 73 20 |f userPi|cked is |
|00005800| 22 54 61 6b 65 20 73 6e | 61 70 73 68 6f 74 22 20 |"Take sn|apshot" |
|00005810| 74 68 65 6e 20 2d 2d 20 | 74 61 6b 65 20 73 6e 61 |then -- |take sna|
|00005820| 70 73 68 6f 74 0d 73 65 | 74 20 63 75 72 73 6f 72 |pshot.se|t cursor|
|00005830| 20 74 6f 20 77 61 74 63 | 68 0d 70 75 74 20 69 74 | to watc|h.put it|
|00005840| 65 6d 20 32 20 6f 66 20 | 20 47 65 74 56 61 6c 75 |em 2 of | GetValu|
|00005850| 65 28 22 49 74 65 6d 22 | 2c 35 29 20 69 6e 74 6f |e("Item"|,5) into|
|00005860| 20 73 68 6f 74 4e 61 6d | 65 0d 67 65 74 20 69 74 | shotNam|e.get it|
|00005870| 65 6d 20 32 20 6f 66 20 | 67 65 74 56 61 6c 75 65 |em 2 of |getValue|
|00005880| 28 22 49 74 65 6d 22 2c | 38 29 0d 69 66 20 69 74 |("Item",|8).if it|
|00005890| 20 69 73 20 6e 6f 74 20 | 22 22 20 74 68 65 6e 20 | is not |"" then |
|000058a0| 70 75 74 20 22 20 a5 20 | 22 20 26 20 69 74 20 61 |put " . |" & it a|
|000058b0| 66 74 65 72 20 73 68 6f | 74 4e 61 6d 65 0d 6b 69 |fter sho|tName.ki|
|000058c0| 6c 6c 57 69 6e 64 6f 77 | 0d 6d 61 6b 65 53 6e 61 |llWindow|.makeSna|
|000058d0| 70 53 68 6f 74 20 73 68 | 6f 74 4e 61 6d 65 0d 0d |pShot sh|otName..|
|000058e0| 65 6c 73 65 20 69 66 20 | 75 73 65 72 50 69 63 6b |else if |userPick|
|000058f0| 65 64 20 69 73 20 22 50 | 72 69 6e 74 20 53 6e 61 |ed is "P|rint Sna|
|00005900| 70 73 68 6f 74 22 20 74 | 68 65 6e 0d 64 6f 6d 65 |pshot" t|hen.dome|
|00005910| 6e 75 20 22 70 72 69 6e | 74 20 63 61 72 64 22 20 |nu "prin|t card" |
|00005920| 2d 2d 20 70 72 69 6e 74 | 20 73 63 72 65 65 6e 0d |-- print| screen.|
|00005930| 6b 69 6c 6c 57 69 6e 64 | 6f 77 0d 65 6c 73 65 20 |killWind|ow.else |
|00005940| 69 66 20 75 73 65 72 50 | 69 63 6b 65 64 20 69 73 |if userP|icked is|
|00005950| 20 22 56 69 65 77 20 53 | 6e 61 70 73 68 6f 74 73 | "View S|napshots|
|00005960| 22 20 74 68 65 6e 20 2d | 2d 20 6e 65 77 20 73 6e |" then -|- new sn|
|00005970| 61 70 73 68 6f 74 20 64 | 69 73 6b 0d 6b 69 6c 6c |apshot d|isk.kill|
|00005980| 57 69 6e 64 6f 77 0d 62 | 65 71 75 69 65 74 0d 67 |Window.b|equiet.g|
|00005990| 65 74 20 67 6f 53 6e 61 | 70 73 68 6f 74 28 29 0d |et goSna|pshot().|
|000059a0| 65 6c 73 65 20 2d 2d 20 | 6d 75 73 74 20 62 65 20 |else -- |must be |
|000059b0| 43 61 6e 63 65 6c 0d 6b | 69 6c 6c 57 69 6e 64 6f |Cancel.k|illWindo|
|000059c0| 77 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 53 6e 61 |w.end if|.end Sna|
|000059d0| 70 73 68 6f 74 0d 0d 6f | 6e 20 6d 61 6b 65 53 6e |pshot..o|n makeSn|
|000059e0| 61 70 53 68 6f 74 20 73 | 68 6f 74 4e 61 6d 65 0d |apShot s|hotName.|
|000059f0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00005a00| 74 63 68 0d 62 65 51 75 | 69 65 74 0d 75 6e 6c 6f |tch.beQu|iet.unlo|
|00005a10| 63 6b 20 73 63 72 65 65 | 6e 20 2d 2d 20 66 6f 72 |ck scree|n -- for|
|00005a20| 20 72 65 66 72 65 73 68 | 2c 20 73 69 6e 63 65 20 | refresh|, since |
|00005a30| 77 65 27 72 65 20 74 61 | 6b 69 6e 67 20 61 20 70 |we're ta|king a p|
|00005a40| 69 63 74 75 72 65 20 6f | 66 20 69 74 0d 6c 6f 63 |icture o|f it.loc|
|00005a50| 6b 20 73 63 72 65 65 6e | 0d 43 6f 70 79 53 63 72 |k screen|.CopyScr|
|00005a60| 65 65 6e 0d 69 66 20 67 | 6f 53 6e 61 70 73 68 6f |een.if g|oSnapsho|
|00005a70| 74 28 29 20 69 73 20 74 | 72 75 65 20 74 68 65 6e |t() is t|rue then|
|00005a80| 0d 67 6f 20 6c 61 73 74 | 20 63 64 0d 73 65 6e 64 |.go last| cd.send|
|00005a90| 20 22 74 61 6b 65 53 6e | 61 70 53 68 6f 74 20 73 | "takeSn|apShot s|
|00005aa0| 68 6f 74 4e 61 6d 65 22 | 20 74 6f 20 74 68 69 73 |hotName"| to this|
|00005ab0| 20 62 67 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 6d | bg.end |if.end m|
|00005ac0| 61 6b 65 53 6e 61 70 73 | 68 6f 74 0d 0d 66 75 6e |akeSnaps|hot..fun|
|00005ad0| 63 74 69 6f 6e 20 6d 61 | 6b 65 53 74 61 6d 70 0d |ction ma|keStamp.|
|00005ae0| 2d 2d 20 6d 61 6b 65 20 | 61 20 6d 6f 64 75 6c 65 |-- make |a module|
|00005af0| 2c 64 61 74 65 20 61 6e | 64 20 74 69 6d 65 20 73 |,date an|d time s|
|00005b00| 74 61 63 6b 20 66 6f 72 | 20 62 6f 6f 6b 6d 61 72 |tack for| bookmar|
|00005b10| 6b 73 2c 73 6e 61 70 73 | 68 6f 74 73 20 61 6e 64 |ks,snaps|hots and|
|00005b20| 20 6e 6f 74 65 73 0d 70 | 75 74 20 74 68 65 20 73 | notes.p|ut the s|
|00005b30| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|00005b40| 73 20 73 74 61 63 6b 20 | 69 6e 74 6f 20 73 74 61 |s stack |into sta|
|00005b50| 6d 70 0d 0d 70 75 74 20 | 74 68 65 20 73 68 6f 72 |mp..put |the shor|
|00005b60| 74 20 64 61 74 65 20 69 | 6e 74 6f 20 74 6f 64 61 |t date i|nto toda|
|00005b70| 79 0d 67 65 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |y.get th|e number|
|00005b80| 20 6f 66 20 63 68 61 72 | 73 20 69 6e 20 74 6f 64 | of char|s in tod|
|00005b90| 61 79 0d 64 65 6c 65 74 | 65 20 63 68 61 72 20 28 |ay.delet|e char (|
|00005ba0| 69 74 2d 32 29 20 74 6f | 20 69 74 20 6f 66 20 74 |it-2) to| it of t|
|00005bb0| 6f 64 61 79 20 2d 2d 20 | 64 6f 6e 27 74 20 6e 65 |oday -- |don't ne|
|00005bc0| 65 64 20 74 68 65 20 79 | 65 61 72 0d 70 75 74 20 |ed the y|ear.put |
|00005bd0| 22 20 a5 22 20 26 26 20 | 74 6f 64 61 79 20 26 26 |" ." && |today &&|
|00005be0| 20 22 61 74 20 22 20 61 | 66 74 65 72 20 73 74 61 | "at " a|fter sta|
|00005bf0| 6d 70 0d 70 75 74 20 74 | 68 65 20 74 69 6d 65 20 |mp.put t|he time |
|00005c00| 69 6e 74 6f 20 74 69 6d | 65 53 74 61 6d 70 0d 67 |into tim|eStamp.g|
|00005c10| 65 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |et the n|umber of|
|00005c20| 20 63 68 61 72 73 20 69 | 6e 20 74 69 6d 65 53 74 | chars i|n timeSt|
|00005c30| 61 6d 70 0d 70 75 74 20 | 63 68 61 72 20 28 69 74 |amp.put |char (it|
|00005c40| 2d 31 29 20 74 6f 20 69 | 74 20 6f 66 20 74 69 6d |-1) to i|t of tim|
|00005c50| 65 53 74 61 6d 70 20 69 | 6e 74 6f 20 74 6f 64 0d |eStamp i|nto tod.|
|00005c60| 69 66 20 74 6f 64 20 3d | 20 22 50 4d 22 20 74 68 |if tod =| "PM" th|
|00005c70| 65 6e 20 70 75 74 20 22 | 70 6d 22 20 69 6e 74 6f |en put "|pm" into|
|00005c80| 20 74 6f 64 0d 65 6c 73 | 65 20 69 66 20 74 6f 64 | tod.els|e if tod|
|00005c90| 20 3d 20 22 41 4d 22 20 | 74 68 65 6e 20 70 75 74 | = "AM" |then put|
|00005ca0| 20 22 61 6d 22 20 69 6e | 74 6f 20 74 6f 64 0d 70 | "am" in|to tod.p|
|00005cb0| 75 74 20 74 6f 64 20 69 | 6e 74 6f 20 63 68 61 72 |ut tod i|nto char|
|00005cc0| 20 28 69 74 2d 31 29 20 | 74 6f 20 69 74 20 6f 66 | (it-1) |to it of|
|00005cd0| 20 74 69 6d 65 53 74 61 | 6d 70 0d 70 75 74 20 74 | timeSta|mp.put t|
|00005ce0| 69 6d 65 53 74 61 6d 70 | 20 61 66 74 65 72 20 73 |imeStamp| after s|
|00005cf0| 74 61 6d 70 0d 72 65 74 | 75 72 6e 20 73 74 61 6d |tamp.ret|urn stam|
|00005d00| 70 0d 65 6e 64 20 6d 61 | 6b 65 53 74 61 6d 70 0d |p.end ma|keStamp.|
|00005d10| 0d 6f 6e 20 6b 69 6c 6c | 57 69 6e 64 6f 77 0d 2d |.on kill|Window.-|
|00005d20| 2d 20 66 72 65 65 20 6d | 65 6d 6f 72 79 20 28 74 |- free m|emory (t|
|00005d30| 65 6d 70 6f 72 61 72 79 | 2c 20 75 6e 74 69 6c 20 |emporary|, until |
|00005d40| 6b 69 6c 6c 41 6c 6c 20 | 77 6f 72 6b 73 29 20 2a |killAll |works) *|
|00005d50| 2a 0d 53 65 74 57 69 6e | 64 6f 77 20 31 0d 4e 65 |*.SetWin|dow 1.Ne|
|00005d60| 77 57 69 6e 64 6f 77 20 | 35 30 2c 35 30 2c 63 65 |wWindow |50,50,ce|
|00005d70| 6e 74 65 72 65 64 2c 30 | 2c 31 2c 22 22 2c 69 6e |ntered,0|,1,"",in|
|00005d80| 76 69 73 69 62 6c 65 0d | 67 6f 20 74 68 69 73 20 |visible.|go this |
|00005d90| 63 64 20 2d 2d 20 6b 76 | 73 20 61 64 64 65 64 20 |cd -- kv|s added |
|00005da0| 74 6f 20 72 65 66 72 65 | 73 68 20 73 63 72 65 65 |to refre|sh scree|
|00005db0| 6e 0d 65 6e 64 20 6b 69 | 6c 6c 57 69 6e 64 6f 77 |n.end ki|llWindow|
|00005dc0| 0d 0d 2d 2d 20 4d 41 50 | 0d 6f 6e 20 4d 61 70 0d |..-- MAP|.on Map.|
|00005dd0| 67 6c 6f 62 61 6c 20 67 | 54 6f 54 68 65 4d 61 70 |global g|ToTheMap|
|00005de0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 77 |.set cur|sor to w|
|00005df0| 61 74 63 68 0d 70 75 74 | 20 67 65 74 43 61 72 64 |atch.put| getCard|
|00005e00| 4e 61 6d 65 28 29 20 69 | 6e 74 6f 20 67 54 6f 54 |Name() i|nto gToT|
|00005e10| 68 65 4d 61 70 0d 6c 6f | 63 6b 20 73 63 72 65 65 |heMap.lo|ck scree|
|00005e20| 6e 0d 67 6f 20 22 4d 46 | 20 4d 61 70 22 0d 75 6e |n.go "MF| Map".un|
|00005e30| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 20 77 69 74 68 |lock scr|een with|
|00005e40| 20 69 72 69 73 20 6f 70 | 65 6e 0d 65 6e 64 20 4d | iris op|en.end M|
|00005e50| 61 70 0d 0d 2d 2d 2d 20 | 48 45 4c 50 0d 6f 6e 20 |ap..--- |HELP.on |
|00005e60| 48 65 6c 70 0d 70 75 73 | 68 20 63 61 72 64 0d 6c |Help.pus|h card.l|
|00005e70| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 67 6f 20 73 74 |ock scre|en.go st|
|00005e80| 61 63 6b 20 22 4d 46 20 | 48 65 6c 70 22 0d 75 6e |ack "MF |Help".un|
|00005e90| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 20 77 69 74 68 |lock scr|een with|
|00005ea0| 20 69 72 69 73 20 6f 70 | 65 6e 0d 73 65 6e 64 20 | iris op|en.send |
|00005eb0| 6f 70 65 6e 41 63 74 69 | 6f 6e 20 74 6f 20 74 68 |openActi|on to th|
|00005ec0| 69 73 20 63 64 0d 65 6e | 64 20 48 65 6c 70 0d 0d |is cd.en|d Help..|
|00005ed0| 6f 6e 20 47 6c 6f 73 73 | 61 72 79 0d 70 75 73 68 |on Gloss|ary.push|
|00005ee0| 20 63 61 72 64 0d 6c 6f | 63 6b 20 73 63 72 65 65 | card.lo|ck scree|
|00005ef0| 6e 0d 67 6f 20 74 6f 20 | 63 61 72 64 20 22 47 6c |n.go to |card "Gl|
|00005f00| 6f 73 73 61 72 79 42 72 | 6f 77 73 65 72 22 20 6f |ossaryBr|owser" o|
|00005f10| 66 20 73 74 61 63 6b 20 | 22 4d 46 20 47 6c 6f 73 |f stack |"MF Glos|
|00005f20| 73 61 72 79 22 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |sary".un|lock scr|
|00005f30| 65 65 6e 20 77 69 74 68 | 20 69 72 69 73 20 6f 70 |een with| iris op|
|00005f40| 65 6e 0d 65 6e 64 20 47 | 6c 6f 73 73 61 72 79 0d |en.end G|lossary.|
|00005f50| 0d 6f 6e 20 72 65 66 72 | 65 73 68 0d 70 75 74 20 |.on refr|esh.put |
|00005f60| 74 68 65 20 6c 6f 63 6b | 73 63 72 65 65 6e 20 69 |the lock|screen i|
|00005f70| 6e 74 6f 20 73 61 76 65 | 4c 0d 75 6e 6c 6f 63 6b |nto save|L.unlock|
|00005f80| 20 73 63 72 65 65 6e 0d | 67 6f 20 74 68 69 73 20 | screen.|go this |
|00005f90| 43 64 0d 73 65 74 20 74 | 68 65 20 6c 6f 63 6b 73 |Cd.set t|he locks|
|00005fa0| 63 72 65 65 6e 20 74 6f | 20 73 61 76 65 4c 0d 65 |creen to| saveL.e|
|00005fb0| 6e 64 20 72 65 66 72 65 | 73 68 0d 0d 2d 2d 20 65 |nd refre|sh..-- e|
|00005fc0| 6e 64 20 6f 66 20 73 74 | 75 64 65 6e 74 20 6f 70 |nd of st|udent op|
|00005fd0| 74 69 6f 6e 73 0d 0d 2d | 2d 2f 20 66 6f 72 20 73 |tions..-|-/ for s|
|00005fe0| 65 6c 66 61 73 73 65 73 | 73 6d 65 6e 74 73 0d 2d |elfasses|sments.-|
|00005ff0| 2d 2f 20 41 6c 6c 20 53 | 65 6c 6c 2d 41 73 73 65 |-/ All S|ell-Asse|
|00006000| 73 73 6d 65 6e 74 20 62 | 61 63 6b 67 72 6f 75 6e |ssment b|ackgroun|
|00006010| 64 73 20 73 68 6f 75 6c | 64 20 62 65 20 6e 61 6d |ds shoul|d be nam|
|00006020| 65 64 20 73 74 61 72 74 | 69 6e 67 20 77 69 74 68 |ed start|ing with|
|00006030| 20 22 a7 8c 22 0d 0d 6f | 6e 20 63 6c 6f 73 65 42 | ".."..o|n closeB|
|00006040| 61 63 6b 67 72 6f 75 6e | 64 0d 67 6c 6f 62 61 6c |ackgroun|d.global|
|00006050| 20 67 42 61 63 6b 67 72 | 6f 75 6e 64 4e 61 6d 65 | gBackgr|oundName|
|00006060| 0d 70 75 74 20 74 68 65 | 20 73 68 6f 72 74 20 6e |.put the| short n|
|00006070| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 62 67 20 69 |ame of t|his bg i|
|00006080| 6e 74 6f 20 67 42 61 63 | 6b 67 72 6f 75 6e 64 4e |nto gBac|kgroundN|
|00006090| 61 6d 65 0d 65 6e 64 20 | 63 6c 6f 73 65 42 61 63 |ame.end |closeBac|
|000060a0| 6b 67 72 6f 75 6e 64 0d | 0d 6f 6e 20 6f 70 65 6e |kground.|.on open|
|000060b0| 42 61 63 6b 67 72 6f 75 | 6e 64 0d 67 6c 6f 62 61 |Backgrou|nd.globa|
|000060c0| 6c 20 67 42 61 63 6b 67 | 72 6f 75 6e 64 4e 61 6d |l gBackg|roundNam|
|000060d0| 65 2c 67 53 74 61 63 6b | 4e 61 6d 65 2c 53 41 45 |e,gStack|Name,SAE|
|000060e0| 76 61 6c 44 61 74 61 2c | 67 4e 6f 44 69 73 6b 0d |valData,|gNoDisk.|
|000060f0| 69 66 20 67 42 61 63 6b | 67 72 6f 75 6e 64 4e 61 |if gBack|groundNa|
|00006100| 6d 65 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |me is no|t empty |
|00006110| 61 6e 64 20 53 41 45 76 | 61 6c 44 61 74 61 20 69 |and SAEv|alData i|
|00006120| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00006130| 0d 69 66 20 63 68 61 72 | 20 31 20 74 6f 20 32 20 |.if char| 1 to 2 |
|00006140| 6f 66 20 67 42 61 63 6b | 67 72 6f 75 6e 64 4e 61 |of gBack|groundNa|
|00006150| 6d 65 20 69 73 20 22 a7 | 8c 22 20 61 6e 64 20 c2 |me is ".|." and .|
|00006160| 0d 63 68 61 72 20 31 20 | 74 6f 20 32 20 6f 66 20 |.char 1 |to 2 of |
|00006170| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00006180| 66 20 74 68 69 73 20 62 | 67 20 69 73 20 6e 6f 74 |f this b|g is not|
|00006190| 20 22 a7 8c 22 20 74 68 | 65 6e 0d 69 66 20 67 4e | ".." th|en.if gN|
|000061a0| 6f 44 69 73 6b 20 69 73 | 20 6e 6f 74 20 22 74 72 |oDisk is| not "tr|
|000061b0| 75 65 22 20 74 68 65 6e | 0d 70 75 74 20 74 68 65 |ue" then|.put the|
|000061c0| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|000061d0| 68 69 73 20 63 64 20 69 | 6e 74 6f 20 66 69 6e 61 |his cd i|nto fina|
|000061e0| 6c 63 61 72 64 6e 61 6d | 65 0d 70 75 74 20 74 68 |lcardnam|e.put th|
|000061f0| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00006200| 74 68 69 73 20 73 74 61 | 63 6b 20 69 6e 74 6f 20 |this sta|ck into |
|00006210| 67 53 74 61 63 6b 4e 61 | 6d 65 0d 64 6f 57 61 72 |gStackNa|me.doWar|
|00006220| 6e 69 6e 67 20 2d 2d 20 | 69 66 20 74 68 65 79 20 |ning -- |if they |
|00006230| 61 72 65 20 75 73 69 6e | 67 20 61 20 73 74 75 64 |are usin|g a stud|
|00006240| 65 6e 74 20 64 69 73 6b | 2c 20 70 75 74 20 75 70 |ent disk|, put up|
|00006250| 20 6d 73 67 0d 72 65 66 | 72 65 73 68 0d 69 66 20 | msg.ref|resh.if |
|00006260| 67 6f 53 74 75 64 65 6e | 74 53 74 61 63 6b 28 29 |goStuden|tStack()|
|00006270| 20 69 73 20 22 74 72 75 | 65 22 20 74 68 65 6e 0d | is "tru|e" then.|
|00006280| 67 6f 20 74 6f 20 63 64 | 20 72 65 70 6f 72 74 0d |go to cd| report.|
|00006290| 73 65 6e 64 20 6c 69 73 | 74 52 65 73 75 6c 74 73 |send lis|tResults|
|000062a0| 20 74 6f 20 74 68 69 73 | 20 63 61 72 64 0d 67 6f | to this| card.go|
|000062b0| 20 74 6f 20 63 64 20 66 | 69 6e 61 6c 43 61 72 64 | to cd f|inalCard|
|000062c0| 6e 61 6d 65 20 6f 66 20 | 67 73 74 61 63 6b 6e 61 |name of |gstackna|
|000062d0| 6d 65 0d 65 6e 64 20 69 | 66 0d 6b 69 6c 6c 57 61 |me.end i|f.killWa|
|000062e0| 72 6e 69 6e 67 0d 65 6e | 64 20 69 66 0d 65 6e 64 |rning.en|d if.end|
|000062f0| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 6f | if.end |if.end o|
|00006300| 70 65 6e 42 61 63 6b 67 | 72 6f 75 6e 64 0d 0d 6f |penBackg|round..o|
|00006310| 6e 20 64 6f 57 61 72 6e | 69 6e 67 0d 69 66 20 74 |n doWarn|ing.if t|
|00006320| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 64 20 |he numbe|r of cd |
|00006330| 66 6c 64 73 20 3e 20 30 | 20 74 68 65 6e 0d 69 66 |flds > 0| then.if|
|00006340| 20 66 69 6e 64 46 69 65 | 6c 64 28 22 57 61 72 6e | findFie|ld("Warn|
|00006350| 69 6e 67 22 29 20 69 73 | 20 6e 6f 74 20 66 61 6c |ing") is| not fal|
|00006360| 73 65 20 74 68 65 6e 0d | 73 68 6f 77 20 63 64 20 |se then.|show cd |
|00006370| 66 6c 64 20 22 57 61 72 | 6e 69 6e 67 22 0d 75 6e |fld "War|ning".un|
|00006380| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 65 78 69 74 |lock scr|een.exit|
|00006390| 20 64 6f 57 61 72 6e 69 | 6e 67 0d 65 6e 64 20 69 | doWarni|ng.end i|
|000063a0| 66 0d 65 6e 64 20 69 66 | 0d 6c 6f 63 6b 20 73 63 |f.end if|.lock sc|
|000063b0| 72 65 65 6e 0d 70 75 74 | 20 6d 61 6b 65 4c 69 6e |reen.put| makeLin|
|000063c0| 65 73 28 20 c2 0d 22 22 | 2c c2 0d 22 53 61 76 69 |es( ..""|,.."Savi|
|000063d0| 6e 67 20 74 68 65 20 72 | 65 73 75 6c 74 73 20 6f |ng the r|esults o|
|000063e0| 66 20 79 6f 75 72 20 53 | 65 6c 66 2d 41 73 73 65 |f your S|elf-Asse|
|000063f0| 73 73 6d 65 6e 74 2e 2e | 2e 22 2c 20 c2 0d 22 70 |ssment..|.", .."p|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.